Fixed the GLES2 shader count to be in sync with the enum

This commit is contained in:
Sam Lantinga 2021-11-15 13:45:53 -08:00
parent 2f591fb0a0
commit 9ec2b35147
1 changed files with 2 additions and 3 deletions

View File

@ -45,11 +45,10 @@ typedef enum
GLES2_SHADER_FRAGMENT_TEXTURE_NV21_JPEG,
GLES2_SHADER_FRAGMENT_TEXTURE_NV21_BT601,
GLES2_SHADER_FRAGMENT_TEXTURE_NV21_BT709,
GLES2_SHADER_FRAGMENT_TEXTURE_EXTERNAL_OES
GLES2_SHADER_FRAGMENT_TEXTURE_EXTERNAL_OES,
GLES2_SHADER_COUNT
} GLES2_ShaderType;
#define GLES2_SHADER_COUNT 16
const Uint8 *GLES2_GetShader(GLES2_ShaderType type);
#endif /* SDL_VIDEO_RENDER_OGL_ES2 */