Commit e2dffd8d authored by Nigel Stewart's avatar Nigel Stewart
Browse files

Ooops, subset patch is supposed to be in subset branch only.

parent a89b304a
......@@ -30,8 +30,6 @@ if (@ARGV)
foreach my $ext (sort @extlist)
{
my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext);
print "\n#if !defined(GLEW_SUBSET) || defined(GLEW_SUBSET_$extname)\n";
output_decls($functions, \&make_pfn_decl);
print "\n#endif /* GLEW_SUBSET_$extname */\n";
}
}
......@@ -55,15 +55,12 @@ if (@ARGV)
my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext);
make_separator($extname);
print "#ifndef $extname\n";
print "#ifndef $extname\n#define $extname 1\n";
output_tokens($tokens, \&make_define);
output_types($types, \&make_type);
output_exacts($exacts, \&make_exact);
output_decls($functions, \&make_pfn_type);
print "\n#if !defined(GLEW_SUBSET) || defined(GLEW_SUBSET_$extname)\n";
print "#define $extname 1\n";
output_decls($functions, \&make_pfn_alias);
print "\n#endif /* GLEW_SUBSET_$extname */\n";
my $extvar = $extname;
$extvar =~ s/GL(X*)_/GL$1EW_/;
......
......@@ -31,8 +31,6 @@ if (@ARGV)
foreach my $ext (sort @extlist)
{
my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext);
print "\n#if !defined(GLEW_SUBSET) || defined(GLEW_SUBSET_$extname)\n";
output_decls($functions, \&make_pfn_decl);
print "\n#endif /* GLEW_SUBSET_$extname */\n";
}
}
......@@ -158,20 +158,6 @@ typedef _W64 int ptrdiff_t;
#endif /* _WIN32 */
/* GLEW depends on extension string entry points for internal purposes */
#ifdef GLEW_SUBSET
#ifndef GLEW_SUBSET_WGL_ARB_extensions_string
#define GLEW_SUBSET_WGL_ARB_extensions_string
#endif
#ifndef GLEW_SUBSET_WGL_EXT_extensions_string
#define GLEW_SUBSET_WGL_EXT_extensions_string
#endif
#ifndef GLEW_SUBSET_GLX_VERSION_1_2
#define GLEW_SUBSET_GLX_VERSION_1_2
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment