mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-24 16:19:18 -05:00
REMOVED: SetupFramebuffer(), most platforms do not need it any more
Kept only for platforms that could potentially need it
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user