mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 07:27:19 +08: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 {
|
} else {
|
||||||
*shader = SHADER_PALETTE_NEAREST;
|
*shader = SHADER_PALETTE_NEAREST;
|
||||||
}
|
}
|
||||||
|
#ifdef SDL_HAVE_YUV
|
||||||
} else if (texturedata->yuv) {
|
} else if (texturedata->yuv) {
|
||||||
*shader = SHADER_YUV;
|
*shader = SHADER_YUV;
|
||||||
|
#endif // SDL_HAVE_YUV
|
||||||
}
|
}
|
||||||
*shader_params = texturedata->shader_params;
|
*shader_params = texturedata->shader_params;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user