- fixed compilation of SDL backend

src/posix/sdl/sdlglvideo.cpp:200:4: error: use of undeclared identifier 'I_ClosestResolution'
This commit is contained in:
alexey.lysiuk 2018-06-17 14:51:04 +03:00
parent dc2a5b0cc9
commit 5cf3dbfd5b
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ DFrameBuffer *SDLGLVideo::CreateFrameBuffer (int width, int height, bool bgra, b
oheight = height;
case 2:
// Try a different resolution. Hopefully that will work.
I_ClosestResolution (&width, &height, 8);
void V_ClosestResolution(int *, int *, int);
V_ClosestResolution (&width, &height, 8);
break;
case 1: