mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
vulkan: fix canvas rendering
Sometimes canvas commands wouldn't get executed. This was because when the window gets resized, the command buffers would get recreated, and would thus lose the recorded commands.
This commit is contained in:
@@ -149,8 +149,6 @@ namespace love {
|
||||
this->pixelHeight = pixelheight;
|
||||
|
||||
resetProjection();
|
||||
|
||||
recreateSwapChain();
|
||||
}
|
||||
|
||||
bool Graphics::setMode(void* context, int width, int height, int pixelwidth, int pixelheight, bool windowhasstencil, int msaa) {
|
||||
|
||||
Reference in New Issue
Block a user