mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix float/int mismatch in VI_UpdateSize().
This commit is contained in:
parent
e21f455686
commit
3b97ca2d7c
6
VI.cpp
6
VI.cpp
|
@ -47,10 +47,10 @@ void VI_UpdateSize()
|
|||
else
|
||||
VI.height = VI.real_height*1.0126582f;
|
||||
|
||||
if (VI.width == 0.0f)
|
||||
if (VI.width == 0)
|
||||
VI.width = *REG.VI_WIDTH;
|
||||
if (VI.height == 0.0f)
|
||||
VI.height = 240.0f;
|
||||
if (VI.height == 0)
|
||||
VI.height = 240;
|
||||
|
||||
if (config.frameBufferEmulation.enable && (interlacedPrev != VI.interlaced || widthPrev != VI.width || heightPrev != VI.height)) {
|
||||
frameBufferList().destroy();
|
||||
|
|
Loading…
Reference in New Issue
Block a user