extend the code hidden by SDL_HAVE_YUV

This commit is contained in:
pionere
2022-02-05 12:22:34 +01:00
committed by Sylvain
parent ce1883e1e7
commit 3f8b450de2
11 changed files with 93 additions and 38 deletions

View File

@@ -32,6 +32,7 @@ typedef enum {
SHADER_SOLID,
SHADER_RGB,
SHADER_RGBA,
#if SDL_HAVE_YUV
SHADER_YUV_JPEG,
SHADER_YUV_BT601,
SHADER_YUV_BT709,
@@ -43,6 +44,7 @@ typedef enum {
SHADER_NV21_JPEG,
SHADER_NV21_BT601,
SHADER_NV21_BT709,
#endif
NUM_SHADERS
} GL_Shader;