From 0961320e5de59a5ff19fe46e30a6f22accea102d Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Fri, 18 Apr 2025 09:03:04 -0600 Subject: [PATCH] [rcore][win32] workaround unused function error SetupFramebuffer --- src/platforms/rcore_desktop_win32.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/platforms/rcore_desktop_win32.c b/src/platforms/rcore_desktop_win32.c index 6a7a79e5c..5be13c73a 100644 --- a/src/platforms/rcore_desktop_win32.c +++ b/src/platforms/rcore_desktop_win32.c @@ -977,6 +977,11 @@ static void HandleWindowResize(HWND hwnd, Vector2 *appScreenSizeRef) return; SIZE clientSize = GetClientSize(hwnd); + + // TODO: not sure if this function is doing what we need, leaving this disabled + // call to workaround unused function error + if (0) SetupFramebuffer(0, 0); + TRACELOG(LOG_DEBUG, "NewClientSize %lux%lu", clientSize.cx, clientSize.cy); /* CORE.Window.currentFbo.width = clientSize.cx; */ /* CORE.Window.currentFbo.height = clientSize.cy; */