mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix vsync-off in conf.lua when vulkan is used
This commit is contained in:
@@ -632,6 +632,8 @@ bool Window::setWindow(int width, int height, WindowSettings *settings)
|
||||
needsetmode = true;
|
||||
}
|
||||
|
||||
windowRenderer = renderer;
|
||||
|
||||
// Make sure the window keeps any previously set icon.
|
||||
setIcon(icon.get());
|
||||
|
||||
@@ -650,8 +652,6 @@ bool Window::setWindow(int width, int height, WindowSettings *settings)
|
||||
|
||||
updateSettings(f, false);
|
||||
|
||||
windowRenderer = renderer;
|
||||
|
||||
if (graphics.get())
|
||||
{
|
||||
double scaledw, scaledh;
|
||||
|
||||
Reference in New Issue
Block a user