Add bStretched as a hint that the display will stretch the pixels to fill the screen.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user