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);