S922X: fix filemanager

This commit is contained in:
mason 2023-04-12 21:05:00 +00:00
parent 7ef8029223
commit db74743cca
No known key found for this signature in database
GPG key ID: 84D9278A11FA112B

View file

@ -0,0 +1,13 @@
diff --git a/src/sdlutils.cpp b/src/sdlutils.cpp
index ba56240..e3b15f2 100644
--- a/src/sdlutils.cpp
+++ b/src/sdlutils.cpp
@@ -47,7 +47,7 @@ bool SDLUtils::init()
// Create window
#if FULLSCREEN == 1
- g_window = SDL_CreateWindow(APP_NAME, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN);
+ g_window = SDL_CreateWindow(APP_NAME, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_VULKAN | SDL_WINDOW_FULLSCREEN);
#else
g_window = SDL_CreateWindow(APP_NAME, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
#endif