From 9c8932083af2ad1641e7d58dba83a13357114154 Mon Sep 17 00:00:00 2001 From: Artem Kharytoniuk Date: Sat, 11 Jun 2016 13:04:07 +0300 Subject: [PATCH] Restored previously removed displayFrequency field of glconfig_t. It was removed by mistake: we need this for compatibility with other mods. --- code/cgame/tr_types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/cgame/tr_types.h b/code/cgame/tr_types.h index 67856a2..1f77742 100644 --- a/code/cgame/tr_types.h +++ b/code/cgame/tr_types.h @@ -196,6 +196,11 @@ typedef struct { // normal screens should be 4/3, but wide aspect monitors may be 16/9 float windowAspect; + // + // Obsolete. Should be here for compatibility with other mods. + int displayFrequency; + // + // synonymous with "does rendering consume the entire screen?", therefore // a Voodoo or Voodoo2 will have this set to TRUE, as will a Win32 ICD that // used CDS.