aboutsummaryrefslogtreecommitdiffstats
path: root/progs/perf
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-09-24 16:52:14 +0100
committerKeith Whitwell <[email protected]>2009-09-24 16:52:14 +0100
commit09a23ac3c104e9d7e3e46cc1e54511874601ca7f (patch)
tree1cdeaf69d0c422af408fc628ca21d047c7736575 /progs/perf
parentd93f022936c9986323f69b61d788e08196e2a58a (diff)
progs/perf: fix warnings in readpixels test
Diffstat (limited to 'progs/perf')
-rw-r--r--progs/perf/readpixels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/perf/readpixels.c b/progs/perf/readpixels.c
index 3772b2cf3ed..ac7dc426e93 100644
--- a/progs/perf/readpixels.c
+++ b/progs/perf/readpixels.c
@@ -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 }
};