REMOVED: SetupFramebuffer(), most platforms do not need it any more

Kept only for platforms that could potentially need it
This commit is contained in:
Ray
2025-12-28 16:07:59 +01:00
parent da1a76604f
commit 37bc3f5012
5 changed files with 164 additions and 90 deletions

View File

@ -2049,8 +2049,7 @@ static void HandleWindowResize(HWND hwnd, int *width, int *height)
// TODO: Update framebuffer on resize
CORE.Window.currentFbo.width = (int)clientSize.cx;
CORE.Window.currentFbo.height = (int)clientSize.cy;
//glViewport(0, 0, clientSize.cx, clientSize.cy);
//SetupFramebuffer(0, 0);
//SetupViewport(0, 0, clientSize.cx, clientSize.cy);
SetupViewport(clientSize.cx, clientSize.cy);
CORE.Window.resizedLastFrame = true;