mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(RPi) Fixed two compiler errors.
This commit is contained in:
parent
e5ed25ed5f
commit
02249ae6b9
|
@ -12,10 +12,10 @@
|
||||||
#include "Window.h"
|
#include "Window.h"
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
#include "utils/StringUtil.h"
|
#include "utils/StringUtil.h"
|
||||||
#include <SDL2/SDL.h>
|
|
||||||
#include <SDL2/SDL_opengl.h>
|
#include <SDL2/SDL_opengl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <SDL2/SDL.h>
|
||||||
#include <SDL2/SDL_events.h>
|
#include <SDL2/SDL_events.h>
|
||||||
|
|
||||||
#if !defined(_WIN64)
|
#if !defined(_WIN64)
|
||||||
|
@ -109,7 +109,7 @@ namespace Utils
|
||||||
// Hack to avoid that the application window occasionally loses focus when returning
|
// Hack to avoid that the application window occasionally loses focus when returning
|
||||||
// from a game, which only seems to happen on Raspberry Pi OS 10.
|
// from a game, which only seems to happen on Raspberry Pi OS 10.
|
||||||
SDL_Delay(50);
|
SDL_Delay(50);
|
||||||
SDL_SetWindowInputFocus(Renderer::getSDLWindow());
|
SDL_SetWindowInputFocus(Renderer::getInstance()->getSDLWindow());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We need to shift the return value as it contains some flags (which we don't need).
|
// We need to shift the return value as it contains some flags (which we don't need).
|
||||||
|
|
Loading…
Reference in a new issue