mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
cleanup redundant initialization code
This commit is contained in:
@@ -380,10 +380,6 @@ bool Window::createWindowAndContext(int x, int y, int w, int h, Uint32 windowfla
|
||||
#else
|
||||
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;
|
||||
vgfx->initVulkan();
|
||||
|
||||
return true;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user