summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/tr_init.c5
-rw-r--r--src/renderer/tr_local.h1
-rw-r--r--src/renderer/tr_types.h1
3 files changed, 3 insertions, 4 deletions
diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c
index 534dec3a..fd230bd2 100644
--- a/src/renderer/tr_init.c
+++ b/src/renderer/tr_init.c
@@ -24,10 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "tr_local.h"
-glconfig_t glConfig;
-qboolean textureFilterAnisotropic = qfalse;
-int maxAnisotropy = 0;
-
+glconfig_t glConfig;
glstate_t glState;
static void GfxInfo_f( void );
diff --git a/src/renderer/tr_local.h b/src/renderer/tr_local.h
index a507e8a7..1bbe12fc 100644
--- a/src/renderer/tr_local.h
+++ b/src/renderer/tr_local.h
@@ -971,6 +971,7 @@ extern trGlobals_t tr;
extern glconfig_t glConfig; // outside of TR since it shouldn't be cleared during ref re-init
extern glstate_t glState; // outside of TR since it shouldn't be cleared during ref re-init
+
//
// cvars
//
diff --git a/src/renderer/tr_types.h b/src/renderer/tr_types.h
index 2d7c66d3..a1c338b1 100644
--- a/src/renderer/tr_types.h
+++ b/src/renderer/tr_types.h
@@ -192,6 +192,7 @@ typedef struct {
// than scrWidth / scrHeight if the pixels are non-square
// normal screens should be 4/3, but wide aspect monitors may be 16/9
float windowAspect;
+ float displayAspect;
int displayFrequency;