mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-07 07:50:58 +00:00
extend the code hidden by SDL_HAVE_YUV
This commit is contained in:
parent
ce1883e1e7
commit
3f8b450de2
11 changed files with 93 additions and 38 deletions
|
@ -284,7 +284,7 @@ static const char *shader_source[NUM_SHADERS][2] =
|
|||
" gl_FragColor = texture2D(tex0, v_texCoord) * v_color;\n"
|
||||
"}"
|
||||
},
|
||||
|
||||
#if SDL_HAVE_YUV
|
||||
/* SHADER_YUV_JPEG */
|
||||
{
|
||||
/* vertex shader */
|
||||
|
@ -384,6 +384,7 @@ static const char *shader_source[NUM_SHADERS][2] =
|
|||
BT709_SHADER_CONSTANTS
|
||||
NV21_SHADER_BODY
|
||||
},
|
||||
#endif /* SDL_HAVE_YUV */
|
||||
};
|
||||
|
||||
static SDL_bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue