]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
added texmatrix[] to rmeshstate_t and removed R_Mesh_TextureMatrix function
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index f85a806085f8be2d3361e60e150ef19ddcf12ef1..08b21f0fbd25dbbd907c37289d363c0e54d99b32 100644 (file)
--- a/image.h
+++ b/image.h
@@ -4,6 +4,8 @@
 
 // swizzle components (even converting number of components) and flip images
 // (warning: input must be different than output due to non-linear read/write)
+// (tip: inputcomponentindices can contain values | 0x80000000 to tell it to
+// store them directly into output, so 255 | 0x80000000 would write 255)
 void Image_CopyMux(qbyte *outpixels, const qbyte *inpixels, int width, int height, int flipx, int flipy, int flipdiagonal, int numincomponents, int numoutcomponents, int *inputcomponentindices);
 
 // applies gamma correction to RGB pixels, in can be the same as out