fix the dumbass compiler warning
This commit is contained in:
1 parent
3757f3ae57
commit
d0b7f6203c
3 files changed
+8
-1
No files matched your search
@@ -170,7 +170,7 @@ static void CV_grframebuffer_OnChange(void)
|
||||
{
|
||||
ONLY_IF_GL_LOADED
|
||||
HWD.pfnSetSpecialState(HWD_SET_FRAMEBUFFER, cv_grframebuffer.value);
|
||||
OglSdlSurface(vid.width, vid.height); //this is really dumb but it works TODO: fix compiler warning, cant include the proper header file here
|
||||
RefreshSDLSurface();
|
||||
}
|
||||
|
||||
static void CV_filtermode_ONChange(void)
|
||||
|
||||
@@ -137,4 +137,6 @@ void I_EndRead(void);
|
||||
|
||||
UINT32 I_GetRefreshRate(void);
|
||||
|
||||
void RefreshSDLSurface(void);
|
||||
|
||||
#endif
|
||||
@@ -200,6 +200,11 @@ 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;
|
||||
|
||||
Reference in new issue
Block a user