*** 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:
ikits 2003-09-12 04:46:10 +00:00
parent ac0c6387e9
commit ef757f2529

View File

@ -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";
}