From 5cf3dbfd5b0f95245a940e2c0c52cfe6174ae9aa Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 17 Jun 2018 14:51:04 +0300 Subject: [PATCH] - fixed compilation of SDL backend src/posix/sdl/sdlglvideo.cpp:200:4: error: use of undeclared identifier 'I_ClosestResolution' --- src/posix/sdl/sdlglvideo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/posix/sdl/sdlglvideo.cpp b/src/posix/sdl/sdlglvideo.cpp index 1743f7e8c..ddd0f758f 100644 --- a/src/posix/sdl/sdlglvideo.cpp +++ b/src/posix/sdl/sdlglvideo.cpp @@ -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: