|
|
@ -988,6 +988,9 @@ qboolean R_Init_Video( const int type ) |
|
|
|
refState.desktopBitsPixel = 16; |
|
|
|
refState.desktopBitsPixel = 16; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SDL_SetHint( SDL_HINT_QTWAYLAND_WINDOW_FLAGS, "OverridesSystemGestures" ); |
|
|
|
|
|
|
|
SDL_SetHint( SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION, "landscape" ); |
|
|
|
|
|
|
|
|
|
|
|
#if SDL_VERSION_ATLEAST( 2, 0, 0 ) && !XASH_WIN32 |
|
|
|
#if SDL_VERSION_ATLEAST( 2, 0, 0 ) && !XASH_WIN32 |
|
|
|
SDL_SetHint( "SDL_VIDEO_X11_XRANDR", "1" ); |
|
|
|
SDL_SetHint( "SDL_VIDEO_X11_XRANDR", "1" ); |
|
|
|
SDL_SetHint( "SDL_VIDEO_X11_XVIDMODE", "1" ); |
|
|
|
SDL_SetHint( "SDL_VIDEO_X11_XVIDMODE", "1" ); |
|
|
|