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, but apps should only #include "SDL.h"
!
int width, int height); SDL_YUV_CONVERSION_MODE SDL_GetYUVConversionModeForResolution(
This function is available since SDL 2.0.8.
CategoryAPI, CategoryAPIFunction