X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=r_textures.h;h=82e3189c8eac6897721640d616fdbfd19dce623d;hb=5cdef9218166be3c43ce77f109049a7fdfe5bbb2;hp=03e06908098b48846e416812d68670018f5b61b3;hpb=9978908d76f492c43cdd6cc22627e8ed5cee6f8a;p=xonotic%2Fdarkplaces.git diff --git a/r_textures.h b/r_textures.h index 03e06908..82e3189c 100644 --- a/r_textures.h +++ b/r_textures.h @@ -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);