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
SDL_YUV_CONVERSION_MODE SDL_GetYUVConversionModeForResolution(int width, int height);| 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.