view ppm.h @ 2702:0a6d644c47aa

Avoid crash if using an older SDL2 DLL than the one we compiled with
author Michael Pavone <pavone@retrodev.com>
date Fri, 04 Jul 2025 21:23:48 -0700
parents da2e06c42d16
children
line wrap: on
line source

#ifndef PPM_H_
#define PPM_H_
#include "pixel.h"

void save_ppm(FILE *f, pixel_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);

#endif //PPM_H_