Add bStretched as a hint that the display will stretch the pixels to fill the screen.

This commit is contained in:
Steve Checkoway
2006-02-07 08:33:45 +00:00
parent a65d13c6d1
commit c1520c025b
+2
View File
@@ -8,12 +8,14 @@ class DisplayResolution
public:
int iWidth;
int iHeight;
bool bStretched;
bool operator<( const DisplayResolution &other ) const
{
#define COMPARE(x) if( x != other.x ) return x < other.x;
COMPARE( iWidth );
COMPARE( iHeight );
COMPARE( bStretched );
#undef COMPARE
return false;
}