- allow SDL to use OpenGL acceleration for polybackend

This commit is contained in:
Madame Rachelle 2019-12-05 18:27:46 -05:00
parent dd87619cc4
commit c646478aa0

View file

@ -359,7 +359,7 @@ SDLVideo::SDLVideo ()
} }
else if (Priv::softpolyEnabled) else if (Priv::softpolyEnabled)
{ {
Priv::CreateWindow(SDL_WINDOW_HIDDEN); Priv::CreateWindow(SDL_WINDOW_HIDDEN | SDL_WINDOW_OPENGL);
} }
#endif #endif
} }