mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Updated the list of SDL backends which should default to OpenGL ES to include emscripten.
This commit is contained in:
@@ -161,7 +161,7 @@ bool Window::createWindowAndContext(int x, int y, int w, int h, Uint32 windowfla
|
||||
#endif
|
||||
|
||||
const char *curdriver = SDL_GetCurrentVideoDriver();
|
||||
const char *glesdrivers[] = {"RPI", "Android", "uikit", "winrt"};
|
||||
const char *glesdrivers[] = {"RPI", "Android", "uikit", "winrt", "emscripten"};
|
||||
|
||||
// We always want to try OpenGL ES first on certain video backends.
|
||||
for (const char *glesdriver : glesdrivers)
|
||||
|
||||
Reference in New Issue
Block a user