- if (status)
- {
- const GLubyte *s = gluErrorString (status);
- if (s)
- {
- fprintf (stderr, "%s: error mipmapping %dx%d texture: %s\n",
- progname, ximage->width, ximage->height, s);
- }
- else
- {
- fprintf (stderr, "%s: error mipmapping %dx%d texture: (unknown)\n",
- progname, ximage->width, ximage->height);
- }
- clear_gl_error();
- }
- check_gl_error("mipmapping"); /* should get a return code instead of a
- GL error, but just in case... */
+static void
+getSnapshot(ModeInfo *mi, GLuint name)
+{
+ gleidestruct *gp = &gleidescope[MI_SCREEN(mi)];