From ec682e5ce751c3e83df747412ed0b6786d213ab3 Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 11 Dec 2007 00:19:23 +0000 Subject: * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROM * Guess display aspect based on the desktop resolution * Sort detected resolutions by... + closeness to display aspect + ascending width + ascending height * Apply Q3 coding style to resolution detection code git-svn-id: svn://svn.icculus.org/quake3/trunk@1232 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/renderer/tr_local.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'code/renderer/tr_local.h') diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h index 7ff50e4..5354bc7 100644 --- a/code/renderer/tr_local.h +++ b/code/renderer/tr_local.h @@ -973,9 +973,10 @@ extern glstate_t glState; // outside of TR since it shouldn't be cleared during // These two variables should live inside glConfig but can't because of compatibility issues to the original ID vms. // If you release a stand-alone game and your mod uses tr_types.h from this build you can safely move them to // the glconfig_t struct. -extern qboolean textureFilterAnisotropic; -extern int maxAnisotropy; - +extern qboolean textureFilterAnisotropic; +extern int maxAnisotropy; +extern float displayAspect; + // // cvars -- cgit v1.2.3