mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Changed the SDL video initialization function from SDL_Init to SDL_InitSubSystem
This commit is contained in:
parent
63bf26fcab
commit
d217a3315a
|
@ -65,7 +65,7 @@ bool Renderer::createWindow()
|
|||
{
|
||||
LOG(LogInfo) << "Creating window...";
|
||||
|
||||
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
|
||||
if (SDL_InitSubSystem(SDL_INIT_VIDEO) != 0) {
|
||||
LOG(LogError) << "Couldn't initialize SDL: " << SDL_GetError();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue