From 0c3cfde38180cfddb30a1bef371509fb956b983b Mon Sep 17 00:00:00 2001 From: n00b Date: Wed, 11 Dec 2024 16:09:10 -0500 Subject: [PATCH] Removed resize on fullscreen --- rcbasic_runtime/rc_gfx.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/rcbasic_runtime/rc_gfx.h b/rcbasic_runtime/rc_gfx.h index 2207f5d..4c77076 100644 --- a/rcbasic_runtime/rc_gfx.h +++ b/rcbasic_runtime/rc_gfx.h @@ -733,13 +733,8 @@ bool rc_setWindowFullscreen(int flag) } - int w, h; - SDL_GetWindowSize(rc_window, &w, &h); - - if(flag) - SDL_SetWindowSize(rc_window, w, h); - else - SDL_SetWindowSize(rc_window, rc_window_size.Width, rc_window_size.Height); + //int w, h; + //SDL_GetWindowSize(rc_window, &w, &h); //irr::core::dimension2d win_size(w, h); //device->setWindowSize(win_size);