debug.c | 240 write_ppm(const char *filename, const GLubyte *buffer, int width, int height, function 265 fprintf(stderr, "Unable to create %s in write_ppm()\n", filename); 298 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE); 348 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); 483 write_ppm(filename, buf, w, h, 4, 0, 1, 2, GL_TRUE); 518 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); 553 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); 569 write_ppm(filename, image, w, h, 4, 0, 1, 2, invert); 572 write_ppm(filename, image, w, h, 4, 2, 1, 0, invert); 575 write_ppm(filename, image, w, h, 2, 1, 0, 0, invert) [all...] |