From 321ca1091df9219fa0abab31f992a40141ae0e57 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 3 Oct 2022 12:00:38 -0400 Subject: [PATCH] opengles2: Texture names are GLuint, not GLenum. --- src/render/opengles2/SDL_render_gles2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c index 923a0c6d9..ac22c2b48 100644 --- a/src/render/opengles2/SDL_render_gles2.c +++ b/src/render/opengles2/SDL_render_gles2.c @@ -64,7 +64,7 @@ struct GLES2_FBOList typedef struct GLES2_TextureData { - GLenum texture; + GLuint texture; GLenum texture_type; GLenum pixel_format; GLenum pixel_type; @@ -74,8 +74,8 @@ typedef struct GLES2_TextureData /* YUV texture support */ SDL_bool yuv; SDL_bool nv12; - GLenum texture_v; - GLenum texture_u; + GLuint texture_v; + GLuint texture_u; #endif GLES2_FBOList *fbo; } GLES2_TextureData;