Module: Mesa
Branch: master
Commit: 09a23ac3c104e9d7e3e46cc1e54511874601ca7f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09a23ac3c104e9d7e3e46cc1e54511874601ca7f

Author: Keith Whitwell <[email protected]>
Date:   Thu Sep 24 16:52:14 2009 +0100

progs/perf: fix warnings in readpixels test

---

 progs/perf/readpixels.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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 }
 };
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to