Mercurial > repos > blastem
diff ppm.h @ 2685:da2e06c42d16
Add a compile-time flag to use RGB565 instead of ABGR/ARGB
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 30 Mar 2025 00:06:53 -0700 |
parents | 5f65a16c23ff |
children |
line wrap: on
line diff
--- a/ppm.h Sat Mar 29 23:54:45 2025 -0700 +++ b/ppm.h Sun Mar 30 00:06:53 2025 -0700 @@ -1,6 +1,7 @@ #ifndef PPM_H_ #define PPM_H_ +#include "pixel.h" -void save_ppm(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch); +void save_ppm(FILE *f, pixel_t *buffer, uint32_t width, uint32_t height, uint32_t pitch); #endif //PPM_H_