progs/perf: fix warnings in readpixels test
authorKeith Whitwell <keithw@vmware.com>
Thu, 24 Sep 2009 15:52:14 +0000 (16:52 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 24 Sep 2009 15:52:14 +0000 (16:52 +0100)
progs/perf/readpixels.c

index 3772b2cf3ed64cac6d6cb51762c81fd1ef3d6411..ac7dc426e93a3093ed8befde8200778dc3e79450 100644 (file)
@@ -105,10 +105,10 @@ static const GLsizei Sizes[] = {
 
 
 static const struct {
-   GLenum format, type;
+   GLenum format;
+   GLenum type;
    const char *name;
    GLuint pixel_size;
-   GLboolean full_test;
 } DstFormats[] = {
    { GL_RGBA, GL_UNSIGNED_BYTE,           "RGBA/ubyte", 4 },
    { GL_BGRA, GL_UNSIGNED_BYTE,           "BGRA/ubyte", 4 },
@@ -116,7 +116,7 @@ static const struct {
    { GL_LUMINANCE, GL_UNSIGNED_BYTE,      "L/ubyte", 1 },
    { GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, "Z/uint", 4 },
    { GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, "Z+S/uint", 4 },
-   { 0, 0, NULL, 0, 0 }
+   { 0, 0, NULL, 0 }
 };