From: tomaz Date: Sun, 22 Aug 2004 01:58:08 +0000 (+0000) Subject: Added TEXF_PICMIP to the list of TEXF_ flags. X-Git-Tag: xonotic-v0.1.0preview~5724 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=767477f0928bc868b52419cb5f425ba4618d71e6;p=xonotic%2Fdarkplaces.git Added TEXF_PICMIP to the list of TEXF_ flags. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4353 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_textures.h b/r_textures.h index 330825aa..9cfaccc8 100644 --- a/r_textures.h +++ b/r_textures.h @@ -19,8 +19,10 @@ #define TEXF_FORCENEAREST 0x00000040 // indicates texture should be uploaded using GL_LINEAR or GL_LINEAR_MIPMAP_NEAREST or GL_LINEAR_MIPMAP_LINEAR mode #define TEXF_FORCELINEAR 0x00000080 +// indicates texture should be affected by gl_picmip +#define TEXF_PICMIP 0x00000100 // used for checking if textures mismatch -#define TEXF_IMPORTANTBITS (TEXF_ALPHA | TEXF_MIPMAP | TEXF_FRAGMENT | TEXF_CLAMP | TEXF_FORCENEAREST | TEXF_FORCELINEAR) +#define TEXF_IMPORTANTBITS (TEXF_ALPHA | TEXF_MIPMAP | TEXF_FRAGMENT | TEXF_CLAMP | TEXF_FORCENEAREST | TEXF_FORCELINEAR | TEXF_PICMIP) // 8bit paletted #define TEXTYPE_PALETTE 1