From: Keith Whitwell Date: Thu, 24 Sep 2009 15:52:14 +0000 (+0100) Subject: progs/perf: fix warnings in readpixels test X-Git-Tag: mesa-7.8~2720^2~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09a23ac3c104e9d7e3e46cc1e54511874601ca7f;p=platform%2Fupstream%2Fmesa.git progs/perf: fix warnings in readpixels test --- diff --git a/progs/perf/readpixels.c b/progs/perf/readpixels.c index 3772b2c..ac7dc42 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 } };