]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_textures.h
Rework cl_video to use dyntextures.
[xonotic/darkplaces.git] / r_textures.h
index 4ad5f5e8d2ce9650e6a17241faaeb8d87f1d0404..f7cb02f9b7322df22c632bae5fa30f79291bc3e5 100644 (file)
@@ -77,7 +77,7 @@ void R_FreeTexture(rtexture_t *rt);
 
 // update a portion of the image data of a texture, used by lightmap updates
 // and procedural textures such as video playback.
-void R_UpdateTexture(rtexture_t *rt, unsigned char *data, int x, int y, int width, int height);
+void R_UpdateTexture(rtexture_t *rt, const unsigned char *data, int x, int y, int width, int height);
 
 // returns the renderer dependent texture slot number (call this before each
 // use, as a texture might not have been precached)