foxygit / doom Log in
commit e59bb5f2e0e4657c078d1eaabce2da1859122a22
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Apr 9 12:47:21 2018 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Apr 9 12:47:21 2018 +0200

    video: some more pixel_t consistency
---
 src/v_video.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/v_video.c b/src/v_video.c
index cea37c22..cabfba71 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -655,7 +655,7 @@ typedef PACKED_STRUCT (
 // WritePCXfile
 //

-void WritePCXfile(char *filename, byte *data,
+void WritePCXfile(char *filename, pixel_t *data,
                   int width, int height,
                   byte *palette)
 {
@@ -724,7 +724,7 @@ static void warning_fn(png_structp p, png_const_charp s)
     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)
 {