]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
1D, 3D, and cubemap textures are now supported (in addition to 2D)
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index b441d72f90a289490af81991555c534994923070..c73d48acb240a41c653d946a6ae674e0cd29386a 100644 (file)
--- a/image.h
+++ b/image.h
@@ -40,10 +40,10 @@ void Image_WriteTGARGBA (char *filename, int width, int height, qbyte *data);
 qboolean Image_CheckAlpha(qbyte *data, int size, qboolean rgba);
 
 // resizes the image (in can not be the same as out)
-void Image_Resample (void *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight, int bytesperpixel, int quality);
+void Image_Resample (void *indata, int inwidth, int inheight, int indepth, void *outdata, int outwidth, int outheight, int outdepth, int bytesperpixel, int quality);
 
 // scales the image down by a power of 2 (in can be the same as out)
-void Image_MipReduce(qbyte *in, qbyte *out, int *width, int *height, int destwidth, int destheight, int bytesperpixel);
+void Image_MipReduce(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);