summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-02 07:10:51 -0700
committerBrian Paul <brianp@vmware.com>2009-12-02 07:10:51 -0700
commit8a2066c3cf6690ee758273b96519a995d5f775ac (patch)
tree4e5830bcd396d32a2dcfc66342707623620addaa
parent9528dee864d71518ef0379856a4ebab93ce68230 (diff)
pointsprite: fix signed/unsigned comparison warning
-rw-r--r--src/glean/tpointsprite.cpp2
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
};