Commit 89646b39 authored by Mike Kremer's avatar Mike Kremer

Avoid comparison between unsigned and signed integer warning.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11894 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c00b0ad2
......@@ -1181,7 +1181,7 @@ void GLState::syncFromGL()
GL_TEXTURE_COORD_ARRAY,
GL_VERTEX_ARRAY};
for (int i = 0; i < sizeof(caps) / sizeof(GLenum); ++i)
for (unsigned int i = 0; i < sizeof(caps) / sizeof(GLenum); ++i)
{
if (glIsEnabled(caps[i])) glStateEnabled_.set(caps[i]);
else glStateEnabled_.reset(caps[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment