]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_dyntexture.h
Fix a bug where R_GetTexture could return 0 rather than a white texture.
[xonotic/darkplaces.git] / cl_dyntexture.h
index 29783cf6bb1d7c4979490411c3c73d15487e8932..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,20 +0,0 @@
-// Andreas 'Black' Kirsch 07\r
-#ifndef CL_DYNTEXTURE_H\r
-#define CL_DYNTEXTURE_H\r
-\r
-#define CLDYNTEXTUREPREFIX                     "_dynamic/"\r
-\r
-// always path fully specified names to the dynamic texture functions! (ie. with the _dynamic/ prefix, etc.!)\r
-\r
-// return a valid texture handle for a dynamic texture (might be filler texture if it hasnt been initialized yet)\r
-// or NULL if its not a valid dynamic texture name\r
-rtexture_t * CL_GetDynTexture( const char *name );\r
-\r
-// link a texture handle as dynamic texture and update texture handles in the renderer and draw_* accordingly\r
-void CL_LinkDynTexture( const char *name, rtexture_t *texture );\r
-\r
-// unlink a texture handle from its name\r
-void CL_UnlinkDynTexture( const char *name );\r
-\r
-#endif\r
-\r