Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC
Defined in SDL_surface.h
int width, int height); SDL_YUV_CONVERSION_MODE SDL_GetYUVConversionModeForResolution(
int | width | the resolution width. |
int | height | the resolution height. |
(SDL_YUV_CONVERSION_MODE) Returns YUV conversion mode.
This function is available since SDL 2.0.8.