Fixed resizing bug

This commit is contained in:
Brandon Mak 2022-11-22 10:43:59 +08:00
parent 4377972315
commit dfe86ce7db
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ namespace SHADE
if (width == 0 || height == 0) if (width == 0 || height == 0)
return; return;
PrepareResize(resizeWidth, resizeHeight); PrepareResize(width, height);
}); });
window->RegisterWindowCloseCallback([&](void) window->RegisterWindowCloseCallback([&](void)