summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e596d33)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9555
d7cf8633-e32d-0410-b094-
e92efae38249
#define R_GetTexture(rt) ((rt) ? ((rt)->texnum > 0 ? (rt)->texnum : R_RealGetTexture(rt)) : r_texture_white->texnum)
int R_RealGetTexture (rtexture_t *rt);
#define R_GetTexture(rt) ((rt) ? ((rt)->texnum > 0 ? (rt)->texnum : R_RealGetTexture(rt)) : r_texture_white->texnum)
int R_RealGetTexture (rtexture_t *rt);
-// returns true if the texture is transparent (useful for rendering code)
-
// returns width of texture, as was specified when it was uploaded
int R_TextureWidth(rtexture_t *rt);
// returns width of texture, as was specified when it was uploaded
int R_TextureWidth(rtexture_t *rt);