aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-11-04 18:41:30 +0100
committerAndre Weissflog <floooh@gmail.com>2020-11-04 18:41:30 +0100
commit80aa102e9d2ac28e5d01e8da81978b8085bb76bb (patch)
tree083023cb6654daa51848513057b77013dbf2c5d9
parent330cb511d685f7225986b3bba67883a5ca3f0b58 (diff)
sokol_gfx.h gl: change sg_image_desc.gl_texture_target to uint32_t
-rw-r--r--sokol_gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 3735f67c..6cc9117d 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -1632,7 +1632,7 @@ typedef struct sg_image_desc {
const char* label;
/* GL specific */
uint32_t gl_textures[SG_NUM_INFLIGHT_FRAMES];
- int gl_texture_target;
+ uint32_t gl_texture_target;
/* Metal specific */
const void* mtl_textures[SG_NUM_INFLIGHT_FRAMES];
/* D3D11 specific */