view ppm.h @ 1268:eca01056a915

Width on glTexSubImage2D call in render_framebuffer_updated needs to match the buffer pitch
author Michael Pavone <pavone@retrodev.com>
date Mon, 06 Mar 2017 09:46:50 -0800
parents 5f65a16c23ff
children
line wrap: on
line source

#ifndef PPM_H_
#define PPM_H_

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

#endif //PPM_H_