Remove unused warning

This commit is contained in:
Sylvain 2022-03-09 15:38:36 +01:00
parent 45833a148d
commit ea5b482bff
No known key found for this signature in database
GPG Key ID: 5F87E02E5BC0939E
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,8 @@ static const Uint8 GLES2_Fragment_TextureBGR[] = " \
} \ } \
"; ";
#if SDL_HAVE_YUV
#define JPEG_SHADER_CONSTANTS \ #define JPEG_SHADER_CONSTANTS \
"// YUV offset \n" \ "// YUV offset \n" \
"const vec3 offset = vec3(0, -0.501960814, -0.501960814);\n" \ "const vec3 offset = vec3(0, -0.501960814, -0.501960814);\n" \
@ -299,6 +301,7 @@ static const Uint8 GLES2_Fragment_TextureNV21BT709[] = \
BT709_SHADER_CONSTANTS \ BT709_SHADER_CONSTANTS \
NV21_SHADER_BODY \ NV21_SHADER_BODY \
; ;
#endif
/* Custom Android video format texture */ /* Custom Android video format texture */
static const Uint8 GLES2_Fragment_TextureExternalOES[] = " \ static const Uint8 GLES2_Fragment_TextureExternalOES[] = " \