summaryrefslogtreecommitdiff
path: root/src/client/cl_cin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_cin.c')
-rw-r--r--src/client/cl_cin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/cl_cin.c b/src/client/cl_cin.c
index 8f6e82a2..3e0f55c7 100644
--- a/src/client/cl_cin.c
+++ b/src/client/cl_cin.c
@@ -53,8 +53,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define MAX_VIDEO_HANDLES 16
-extern glconfig_t glConfig;
-
static void RoQ_init( void );
@@ -992,7 +990,7 @@ static void readQuadInfo( byte *qData )
cinTable[currentHandle].drawY = cinTable[currentHandle].CIN_HEIGHT;
// rage pro is very slow at 512 wide textures, voodoo can't do it at all
- if ( glConfig.hardwareType == GLHW_RAGEPRO || glConfig.maxTextureSize <= 256) {
+ if ( cls.glconfig.hardwareType == GLHW_RAGEPRO || cls.glconfig.maxTextureSize <= 256) {
if (cinTable[currentHandle].drawX>256) {
cinTable[currentHandle].drawX = 256;
}