diff options
Diffstat (limited to 'games/prboom-plus/files/patch-src_gl__intern.h')
-rw-r--r-- | games/prboom-plus/files/patch-src_gl__intern.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/prboom-plus/files/patch-src_gl__intern.h b/games/prboom-plus/files/patch-src_gl__intern.h new file mode 100644 index 000000000000..d015d991eadb --- /dev/null +++ b/games/prboom-plus/files/patch-src_gl__intern.h @@ -0,0 +1,22 @@ +--- src/gl_intern.h.orig 2011-10-05 10:23:00 UTC ++++ src/gl_intern.h +@@ -450,8 +450,8 @@ void gld_StaticLightAlpha(float light, float alpha); + void gld_InitLightTable(void); + typedef float (*gld_CalcLightLevel_f)(int lightlevel); + typedef float (*gld_Calc2DLightLevel_f)(int lightlevel); +-gld_CalcLightLevel_f gld_CalcLightLevel; +-gld_Calc2DLightLevel_f gld_Calc2DLightLevel; ++extern gld_CalcLightLevel_f gld_CalcLightLevel; ++extern gld_Calc2DLightLevel_f gld_Calc2DLightLevel; + + //fog + extern int gl_fog; +@@ -459,7 +459,7 @@ extern int gl_use_fog; + void gl_EnableFog(int on); + void gld_SetFog(float fogdensity); + typedef float (*gld_CalcFogDensity_f)(sector_t *sector, int lightlevel, GLDrawItemType type); +-gld_CalcFogDensity_f gld_CalcFogDensity; ++extern gld_CalcFogDensity_f gld_CalcFogDensity; + + //HQ resize + unsigned char* gld_HQResize(GLTexture *gltexture, unsigned char *inputBuffer, int inWidth, int inHeight, int *outWidth, int *outHeight); |