1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/VI.h
Sergey Lipskiy 42e75032fb Correct previous width calculation in VI_UpdateSize().
Now buffers removed when old and new VI width is not zero.

Fixed knockout 2000, issue #294
2015-05-13 10:20:38 +06:00

25 lines
347 B
C

#ifndef VI_H
#define VI_H
#include "Types.h"
struct VIInfo
{
u32 width, widthPrev, height, real_height;
f32 rwidth, rheight;
u32 lastOrigin;
bool interlaced;
VIInfo() :
width(0), widthPrev(0), height(0), real_height(0),
lastOrigin(-1), interlaced(false)
{}
};
extern VIInfo VI;
void VI_UpdateSize();
void VI_UpdateScreen();
#endif