mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Add reverse width and height to VIInfo.
This commit is contained in:
parent
7c0b58cb25
commit
3f72a7aefc
2
VI.cpp
2
VI.cpp
|
@ -39,6 +39,8 @@ void VI_UpdateSize()
|
|||
|
||||
if (VI.width == 0.0f) VI.width = *REG.VI_WIDTH;
|
||||
if (VI.height == 0.0f) VI.height = 240.0f;
|
||||
VI.rwidth = 1.0f / VI.width;
|
||||
VI.rheight = 1.0f / VI.height;
|
||||
}
|
||||
|
||||
void VI_UpdateScreen()
|
||||
|
|
Loading…
Reference in New Issue
Block a user