]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_textures.h
simplify: just turn off rtlights on MATERIALFLAG_FULLBRIGHT, which is forced by custo...
[xonotic/darkplaces.git] / r_textures.h
index 03e06908098b48846e416812d68670018f5b61b3..82e3189c8eac6897721640d616fdbfd19dce623d 100644 (file)
@@ -179,6 +179,9 @@ int R_TextureWidth(rtexture_t *rt);
 // returns height of texture, as was specified when it was uploaded
 int R_TextureHeight(rtexture_t *rt);
 
+// returns flags of texture, as was specified when it was uploaded
+int R_TextureFlags(rtexture_t *rt);
+
 // only frees the texture if TEXF_PERSISTENT is not set
 // also resets the variable
 void R_PurgeTexture(rtexture_t *prt);