diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index df3c93ebe..23e8f8e94 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -202,10 +202,12 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen); //static void Impl_SetWindowName(const char *title); static void Impl_SetWindowIcon(void); +#ifdef HWRENDER void RefreshSDLSurface(void) { OglSdlSurface(vid.width, vid.height); } +#endif static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen) {