From b9a7166d9a7e2b0eed948353c134e72dfa86ab58 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sun, 9 Jun 2024 16:51:46 +1000 Subject: fix texture on cube with opengl --- src/renderer/backends/opengl/backend_opengl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/renderer/backends/opengl/backend_opengl.h') diff --git a/src/renderer/backends/opengl/backend_opengl.h b/src/renderer/backends/opengl/backend_opengl.h index 91de38d..348eb41 100644 --- a/src/renderer/backends/opengl/backend_opengl.h +++ b/src/renderer/backends/opengl/backend_opengl.h @@ -41,6 +41,7 @@ typedef struct gpu_buffer { u64 size; } gpu_buffer; typedef struct gpu_texture { + u32 id; void *pad } gpu_texture; -- cgit v1.2.3-70-g09d2