- 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

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: