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:
|
public:
|
||||||
int iWidth;
|
int iWidth;
|
||||||
int iHeight;
|
int iHeight;
|
||||||
|
bool bStretched;
|
||||||
|
|
||||||
bool operator<( const DisplayResolution &other ) const
|
bool operator<( const DisplayResolution &other ) const
|
||||||
{
|
{
|
||||||
#define COMPARE(x) if( x != other.x ) return x < other.x;
|
#define COMPARE(x) if( x != other.x ) return x < other.x;
|
||||||
COMPARE( iWidth );
|
COMPARE( iWidth );
|
||||||
COMPARE( iHeight );
|
COMPARE( iHeight );
|
||||||
|
COMPARE( bStretched );
|
||||||
#undef COMPARE
|
#undef COMPARE
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user