- fixed a few of the more obvious logic errors

This commit is contained in:
Rachael Alexanderson 2017-11-21 04:05:47 -05:00
commit 2bc86b52c8
3 changed files with 3 additions and 2 deletions

View file

@ -1223,7 +1223,7 @@ void D3DFB::Flip()
{
RECT box;
GetClientRect(Window, &box);
if (box.right > 0 && box.right > 0 && (Width != box.right || Height != box.bottom))
if (box.right > 0 && (Width != box.right || Height != box.bottom))
{
Resize(box.right, box.bottom);