mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed compilation of SDL backend
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’
This commit is contained in:
parent
06c0aa911d
commit
fb51b5d137
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue