We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bd4385 commit 5fb4803Copy full SHA for 5fb4803
src/xrGame/MainMenu.cpp
@@ -351,7 +351,9 @@ void CMainMenu::IR_OnKeyboardPress(int dik)
351
{
352
IWantMyMouseBackScreamed = true;
353
pInput->GrabInput(false);
354
+#if SDL_VERSION_ATLEAST(2,0,5)
355
SDL_SetWindowOpacity(Device.m_sdlWnd, 0.9f);
356
+#endif
357
}
358
359
if (SDL_SCANCODE_F12 == dik)
@@ -372,7 +374,9 @@ void CMainMenu::IR_OnKeyboardRelease(int dik)
372
374
373
375
IWantMyMouseBackScreamed = false;
376
pInput->GrabInput(true);
377
378
SDL_SetWindowOpacity(Device.m_sdlWnd, 1.f);
379
380
381
382
0 commit comments