mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 14:00:08 +00:00
Use SDL_HINT_OVERRIDE for critical hints
This commit is contained in:
1 parent
f2ac570949
commit
bf5d43d0cf
3 files changed
+5
-4
No files matched your search
@@ -174,7 +174,7 @@ bool SdlRenderer::initialize(SDL_Window* window,
|
||||
// input focus. This glitches out the renderer and a bunch of other stuff.
|
||||
// Direct3D9Ex itself seems to have this minimize on focus loss behavior on its
|
||||
// own, so just disable SDL's handling of the focus loss event.
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
SDL_SetHintWithPriority(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0", SDL_HINT_OVERRIDE);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user