mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@222 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
75f8438adc
commit
92c983a605
@ -102,7 +102,7 @@ GLboolean glewParseArgs (int argc, char** argv, char** display, int* visual)
|
|||||||
else if (!strcmp(argv[p], "-visual"))
|
else if (!strcmp(argv[p], "-visual"))
|
||||||
{
|
{
|
||||||
if (++p >= argc) return GL_TRUE;
|
if (++p >= argc) return GL_TRUE;
|
||||||
*visual = strtol(argv[p++], NULL, 0);
|
*visual = (int)strtol(argv[p++], NULL, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user