]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
Factorized LoadLMP and LoadLMPAs8Bit. Made a bunch of buffers const
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index 6a49f5a29a4f6aad6ceaa54c11b0e54830c981d1..023a489c0c3d469e443b75ceb1eac0737a61f916 100644 (file)
--- a/image.h
+++ b/image.h
@@ -59,7 +59,7 @@ void Image_Resample (const void *indata, int inwidth, int inheight, int indepth,
 void Image_MipReduce(const qbyte *in, qbyte *out, int *width, int *height, int *depth, int destwidth, int destheight, int destdepth, int bytesperpixel);
 
 // only used by menuplyr coloring
-qbyte *LoadLMPAs8Bit (qbyte *f, int matchwidth, int matchheight);
+qbyte *LoadLMPAs8Bit (const qbyte *f, int matchwidth, int matchheight);
 
 void Image_HeightmapToNormalmap(const unsigned char *inpixels, unsigned char *outpixels, int width, int height, int clamp, float bumpscale);