Merge branch 'master' of https://github.com/coelckers/gzdoom into vulkan2
# Conflicts: # src/posix/sdl/gl_sysfb.h
This commit is contained in:
commit
ead3695844
24 changed files with 52 additions and 79 deletions
|
|
@ -216,8 +216,8 @@ void DFrameBuffer::Update()
|
|||
int initialHeight = GetClientHeight();
|
||||
int clientWidth = ViewportScaledWidth(initialWidth, initialHeight);
|
||||
int clientHeight = ViewportScaledHeight(initialWidth, initialHeight);
|
||||
if (clientWidth < 320) clientWidth = 320;
|
||||
if (clientHeight < 200) clientHeight = 200;
|
||||
if (clientWidth < 640) clientWidth = 640;
|
||||
if (clientHeight < 400) clientHeight = 400;
|
||||
if (clientWidth > 0 && clientHeight > 0 && (GetWidth() != clientWidth || GetHeight() != clientHeight))
|
||||
{
|
||||
SetVirtualSize(clientWidth, clientHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue