]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
add new console command "fixtrans", usage: fixtrans gfx/foo.tga - writes a new fixtra...
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index 17b6149fdd6b0bccd73a4132186017b5b72a59d2..3a0052e88d9f6fcfb568327b44182a9f4bbb1d9a 100644 (file)
--- a/image.h
+++ b/image.h
@@ -45,5 +45,8 @@ unsigned char *LoadLMP (const unsigned char *f, int filesize, int matchwidth, in
 
 void Image_HeightmapToNormalmap(const unsigned char *inpixels, unsigned char *outpixels, int width, int height, int clamp, float bumpscale);
 
+// console command to fix the colors of transparent pixels (to prevent weird borders)
+void Image_FixTransparentPixels_f(void);
+
 #endif