mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 22:59:49 +00:00
Fixed building with SDL_LEAN_AND_MEAN
Fixes https://github.com/libsdl-org/SDL/issues/14151
This commit is contained in:
committed by
Sam Lantinga
parent
6d47d8dff1
commit
4d9295ef1e
@@ -1059,8 +1059,10 @@ static bool SetupTextureState(D3D_RenderData *data, SDL_Texture *texture, SDL_Sc
|
||||
} else {
|
||||
*shader = SHADER_PALETTE_NEAREST;
|
||||
}
|
||||
#ifdef SDL_HAVE_YUV
|
||||
} else if (texturedata->yuv) {
|
||||
*shader = SHADER_YUV;
|
||||
#endif // SDL_HAVE_YUV
|
||||
}
|
||||
*shader_params = texturedata->shader_params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user