diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7e13ec9..2e8aa32 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -947,6 +947,8 @@ bool CMainApplication::BInit() // Needed for mpv SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "no"); + SDL_SetHint(SDL_HINT_VIDEODRIVER, "x11"); + m_pCompanionWindow = SDL_CreateWindow( "vr-video-player", nWindowPosX, nWindowPosY, m_nCompanionWindowWidth, m_nCompanionWindowHeight, unWindowFlags ); if (m_pCompanionWindow == NULL) { |