Reverted r2145 per Timbo's suggestion.

This commit is contained in:
Zack Middleton committed 2011-08-11 20:57:39 +00:00
1 parent efd5f47bf6
commit 1469df546e
3 files changed
+8 -41

No files matched your search

+2 -5
View File
@@ -292,17 +292,14 @@ qboolean R_GetModeInfo( int *width, int *height, float *windowAspect, int mode )
vidmode_t *vm;
float pixelAspect;
if ( mode < -2 ) {
if ( mode < -1 ) {
return qfalse;
}
if ( mode >= s_numVidModes ) {
return qfalse;
}
if ( mode == -2 ) {
// Must set width and height to display size before calling this function!
pixelAspect = 1.0f;
} else if ( mode == -1 ) {
if ( mode == -1 ) {
*width = r_customwidth->integer;
*height = r_customheight->integer;
pixelAspect = r_customPixelAspect->value;