1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/VI.h
Sergey Lipskiy 13366a9c02 Set init value for VIInfo::lastOrigin to -1.
0 is valid origin value, so wrong buffer clear may occur.
2015-05-13 10:17:03 +06:00

26 lines
327 B
C

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