summaryrefslogtreecommitdiff
path: root/src/renderer/backends/opengl/backend_opengl.h
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-06-09 16:51:46 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-06-09 16:51:46 +1000
commitb9a7166d9a7e2b0eed948353c134e72dfa86ab58 (patch)
treea32d0253f45c927f141e3f4cbc1f58a0f6ca3adb /src/renderer/backends/opengl/backend_opengl.h
parent9c79df522980eabdc5e52592cbd152e2a285c4cc (diff)
fix texture on cube with opengl
Diffstat (limited to 'src/renderer/backends/opengl/backend_opengl.h')
-rw-r--r--src/renderer/backends/opengl/backend_opengl.h1
1 files changed, 1 insertions, 0 deletions
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;