mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@337 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
f85ff37abc
commit
7d2fe795e9
@ -30,7 +30,7 @@ GLX_EXT_SPEC := $(shell grep "^[ \t]*GLX_" custom.txt | grep -v GLX_VERSION | gr
|
||||
else
|
||||
GL_EXT_SPEC := $(EXT)/GL_*
|
||||
WGL_EXT_SPEC := $(EXT)/WGL_*
|
||||
GLX_EXT_SPEC := $(shell echo $(EXT)/GLX_* | grep -v GLX_OML_sync_control)
|
||||
GLX_EXT_SPEC := $(EXT)/GLX_*
|
||||
endif
|
||||
|
||||
PARSE_SPEC = parse_spec.pl
|
||||
|
@ -40,7 +40,7 @@ if (@ARGV)
|
||||
$extpre = lc $extpre;
|
||||
|
||||
#make_separator($extname);
|
||||
#print "#ifdef $extname\n\n";
|
||||
print "#ifdef $extname\n\n";
|
||||
print "static void _glewInfo_$extname (void)\n{\n";
|
||||
if ($extvar =~ /VERSION/)
|
||||
{
|
||||
@ -53,6 +53,6 @@ if (@ARGV)
|
||||
}
|
||||
output_decls($functions, \&make_pfn_info);
|
||||
print "}\n\n";
|
||||
#print "#endif /* $extname */\n\n";
|
||||
print "#endif /* $extname */\n\n";
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ if (@ARGV)
|
||||
|
||||
#my $pextvar = prefix_varname($extvar);
|
||||
|
||||
#print "#ifdef $extname\n";
|
||||
print "#ifdef $extname\n";
|
||||
print " " . $extvar . " = " . $extpre . "GetExtension(\"$extname\");\n";
|
||||
if (keys %$functions)
|
||||
{
|
||||
@ -55,7 +55,7 @@ if (@ARGV)
|
||||
print " if (glewExperimental || " . $extvar . ") " . $extvar . " = !_glewInit_$extname(GLEW_CONTEXT_ARG_VAR_INIT);\n";
|
||||
}
|
||||
}
|
||||
#print "#endif /* $extname */\n";
|
||||
print "#endif /* $extname */\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -41,8 +41,10 @@ if (@ARGV)
|
||||
print " {\n";
|
||||
$curexttype = $exttype;
|
||||
}
|
||||
print "#ifdef $extname\n";
|
||||
print " if (_glewStrSame3(pos, len, (const GLubyte*)\"$extrem\", ". length($extrem) . "))\n";
|
||||
print " return $extvar;\n";
|
||||
print "#endif\n";
|
||||
}
|
||||
|
||||
print " }\n";
|
||||
|
Loading…
Reference in New Issue
Block a user