diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-02 07:10:51 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-02 07:10:51 -0700 |
commit | 8a2066c3cf6690ee758273b96519a995d5f775ac (patch) | |
tree | 4e5830bcd396d32a2dcfc66342707623620addaa | |
parent | 9528dee864d71518ef0379856a4ebab93ce68230 (diff) |
pointsprite: fix signed/unsigned comparison warning
-rw-r--r-- | src/glean/tpointsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glean/tpointsprite.cpp b/src/glean/tpointsprite.cpp index 834ee7b..7a29d3a 100644 --- a/src/glean/tpointsprite.cpp +++ b/src/glean/tpointsprite.cpp @@ -383,7 +383,7 @@ PointSpriteTest::runOne(MultiTestResult &r, Window &w) // polygon mode set to GL_POINT. for (primType = 0; primType < 2; primType ++) { - const unsigned numOrigin = (have_2_0) ? 2 : 1; + const GLint numOrigin = (have_2_0) ? 2 : 1; static const GLenum origin[2] = { GL_UPPER_LEFT, GL_LOWER_LEFT }; |