From fb51b5d1379cb5a803dddc3383fbdff6bff31104 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 7 Apr 2019 17:26:32 +0300 Subject: [PATCH] - fixed compilation of SDL backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/posix/sdl/sdlglvideo.cpp:358:10: error: ‘MIN_WIDTH’ is not a member of ‘Priv’ src/posix/sdl/sdlglvideo.cpp:358:33: error: ‘MIN_HEIGHT’ is not a member of ‘Priv’ src/posix/sdl/sdlglvideo.cpp:360:7: error: ‘MIN_WIDTH’ is not a member of ‘Priv’ src/posix/sdl/sdlglvideo.cpp:361:7: error: ‘MIN_HEIGHT’ is not a member of ‘Priv’ --- src/posix/sdl/sdlglvideo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/posix/sdl/sdlglvideo.cpp b/src/posix/sdl/sdlglvideo.cpp index c36777717a..462bd1a0ca 100644 --- a/src/posix/sdl/sdlglvideo.cpp +++ b/src/posix/sdl/sdlglvideo.cpp @@ -355,10 +355,10 @@ void SystemBaseFrameBuffer::ToggleFullscreen(bool yes) void SystemBaseFrameBuffer::SetWindowSize(int w, int h) { - if (w < Priv::MIN_WIDTH || h < Priv::MIN_HEIGHT) + if (w < VID_MIN_WIDTH || h < VID_MIN_HEIGHT) { - w = Priv::MIN_WIDTH; - h = Priv::MIN_HEIGHT; + w = VID_MIN_WIDTH; + h = VID_MIN_HEIGHT; } win_w = w; win_h = h;