shithub: choc

Download patch

ref: e59bb5f2e0e4657c078d1eaabce2da1859122a22
parent: 8d3e982584c8ea904fe7c12044c147a19494310d
author: Fabian Greffrath <[email protected]>
date: Mon Apr 9 08:47:21 EDT 2018

video: some more pixel_t consistency

--- a/src/v_video.c
+++ b/src/v_video.c
@@ -655,7 +655,7 @@
 // WritePCXfile
 //
 
-void WritePCXfile(char *filename, byte *data,
+void WritePCXfile(char *filename, pixel_t *data,
                   int width, int height,
                   byte *palette)
 {
@@ -724,7 +724,7 @@
     printf("libpng warning: %s\n", s);
 }
 
-void WritePNGfile(char *filename, byte *data,
+void WritePNGfile(char *filename, pixel_t *data,
                   int width, int height,
                   byte *palette)
 {