mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@118 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
ac0c6387e9
commit
ef757f2529
@ -54,7 +54,14 @@ foreach my $ext (sort @extlist)
|
||||
print " $extvar = " . $extpre . "GetExtension(\"$extname\");\n";
|
||||
if (keys %$functions)
|
||||
{
|
||||
print " if (glewExperimental || $extvar) $extvar = !_glewInit_$extname();\n";
|
||||
if ($extname =~ /WGL_.*/)
|
||||
{
|
||||
print " if (glewExperimental || $extvar || (!WGLEW_EXT_extensions_string && !WGLEW_ARB_extensions_string)) $extvar = !_glewInit_$extname();\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print " if (glewExperimental || $extvar) $extvar = !_glewInit_$extname();\n";
|
||||
}
|
||||
}
|
||||
print "#endif /* $extname */\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user