*** 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

@ -53,8 +53,15 @@ foreach my $ext (sort @extlist)
print "#ifdef $extname\n"; print "#ifdef $extname\n";
print " $extvar = " . $extpre . "GetExtension(\"$extname\");\n"; print " $extvar = " . $extpre . "GetExtension(\"$extname\");\n";
if (keys %$functions) if (keys %$functions)
{
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 " if (glewExperimental || $extvar) $extvar = !_glewInit_$extname();\n";
} }
}
print "#endif /* $extname */\n"; print "#endif /* $extname */\n";
} }