]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index bf3e76f15b0bdabff6fba15b8751b2df96b9405b..214d4dd162795d62a1a507ca0ca9c2b851a36dd8 100644 (file)
--- a/image.h
+++ b/image.h
@@ -28,7 +28,7 @@ rtexture_t *image_masktex;
 rtexture_t *loadtextureimagewithmask (rtexturepool_t *pool, char* filename, int matchwidth, int matchheight, qboolean complain, qboolean mipmap, qboolean precache);
 
 // writes a RGB TGA that is already upside down (which TGA wants)
-void Image_WriteTGARGB_preflipped (char *filename, int width, int height, qbyte *data);
+qboolean Image_WriteTGARGB_preflipped (char *filename, int width, int height, qbyte *data);
 
 // writes a RGB TGA
 void Image_WriteTGARGB (char *filename, int width, int height, qbyte *data);
@@ -46,3 +46,4 @@ void Image_Resample (void *indata, int inwidth, int inheight, void *outdata, int
 void Image_MipReduce(qbyte *in, qbyte *out, int *width, int *height, int destwidth, int destheight, int bytesperpixel);
 
 #endif
+