diff options
-rw-r--r-- | screenshot.c | 2 |
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 { |