summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-19 06:31:39 +0000
committertron <tron@openttd.org>2005-07-19 06:31:39 +0000
commit6b439d6f82f105a074e124e4a15dfdae406e09d1 (patch)
tree298155888633c22cf7affe05580e3bb343295c55
parentdcd97a431ba8417b783b9ba9d19a955fccc07c18 (diff)
downloadopenttd-6b439d6f82f105a074e124e4a15dfdae406e09d1.tar.xz
(svn r2630) Forgot one Pixel (see r2571)
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index 8350cb35f..afcfff086 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -10,7 +10,7 @@
#include "screenshot.h"
// called by the ScreenShot proc to generate screenshot lines.
-typedef void ScreenshotCallback(void *userdata, byte *buf, uint y, uint pitch, uint n);
+typedef void ScreenshotCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n);
typedef bool ScreenshotHandlerProc(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette);
typedef struct {