From 2508ef42649607fb33a919b800a9a3315a3315d2 Mon Sep 17 00:00:00 2001 From: Dabb Date: Sun, 4 Jun 2000 09:30:49 +0000 Subject: [PATCH] Added extern to gammatable. Table is "stored" in r_view.c --- source/gl_rmain.c | 2 +- source/qw_client.dsp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/gl_rmain.c b/source/gl_rmain.c index b6959b2..5ea0bd1 100644 --- a/source/gl_rmain.c +++ b/source/gl_rmain.c @@ -125,7 +125,7 @@ cvar_t *r_skyname; extern cvar_t *gl_ztrick; extern cvar_t *scr_fov; -byte gammatable[256]; +extern byte gammatable[256]; static float vid_gamma = 1.0; /* diff --git a/source/qw_client.dsp b/source/qw_client.dsp index 127f822..472f843 100644 --- a/source/qw_client.dsp +++ b/source/qw_client.dsp @@ -2201,7 +2201,6 @@ InputName=worlda cl /D "USE_INTEL_ASM=1" /D "HAVE_CONFIG_H=1" /I "..\source" /I "..\include" /I "..\include\win32\vc" /I "..\include\win32" /nologo /EP > $(OUTDIR)\$(InputName).spp $(InputPath) ..\tools\gas2masm\debug\gas2masm < $(OUTDIR)\$(InputName).spp > $(OUTDIR)\$(InputName).asm ml /nologo /c /Cp /coff /Zi /H64 /Fo$(OUTDIR)\$(InputName).obj $(OUTDIR)\$(InputName).asm - del $(OUTDIR)\$(InputName).spp # End Custom Build