Revert "fix the dumbass compiler warning"

This reverts commit d0b7f6203c.
This commit is contained in:
Alug committed 2024-02-17 09:57:12 +01:00
1 parent 02177a7794
commit 69d47a5e53
3 files changed
+1 -8

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ static void CV_grframebuffer_OnChange(void)
{
ONLY_IF_GL_LOADED
HWD.pfnSetSpecialState(HWD_SET_FRAMEBUFFER, cv_grframebuffer.value);
RefreshSDLSurface();
OglSdlSurface(vid.width, vid.height); //this is really dumb but it works TODO: fix compiler warning, cant include the proper header file here
}
static void CV_filtermode_ONChange(void)
-2
View File
@@ -137,6 +137,4 @@ void I_EndRead(void);
UINT32 I_GetRefreshRate(void);
void RefreshSDLSurface(void);
#endif
-5
View File
@@ -201,11 +201,6 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen);
//static void Impl_SetWindowName(const char *title);
static void Impl_SetWindowIcon(void);
void RefreshSDLSurface(void)
{
OglSdlSurface(vid.width, vid.height);
}
static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen)
{
static SDL_bool wasfullscreen = SDL_FALSE;