handle resizing correctly

This commit is contained in:
niki
2022-01-06 01:42:50 +01:00
parent 65074dae15
commit b80ef89e8d
3 changed files with 68 additions and 28 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ bool Window::createWindowAndContext(int x, int y, int w, int h, Uint32 windowfla
return true;
#else
window = SDL_CreateWindow(title.c_str(), x, y, w, h, SDL_WINDOW_VULKAN);
window = SDL_CreateWindow(title.c_str(), x, y, w, h, windowflags | SDL_WINDOW_VULKAN);
love::graphics::Graphics* gfx = graphics.get();
love::graphics::vulkan::Graphics* vgfx = (love::graphics::vulkan::Graphics*)gfx;