Skip to content

Commit

Permalink
opengles2: Texture names are GLuint, not GLenum.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 3, 2022
1 parent 01c5554 commit 321ca10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -64,7 +64,7 @@ struct GLES2_FBOList

typedef struct GLES2_TextureData
{
GLenum texture;
GLuint texture;
GLenum texture_type;
GLenum pixel_format;
GLenum pixel_type;
Expand All @@ -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;
Expand Down

0 comments on commit 321ca10

Please sign in to comment.