From ef757f252993707889b39958540c5e58a565ce6c Mon Sep 17 00:00:00 2001 From: ikits Date: Fri, 12 Sep 2003 04:46:10 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@118 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/bin/make_list.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/auto/bin/make_list.pl b/auto/bin/make_list.pl index 0bdf273..639dce1 100755 --- a/auto/bin/make_list.pl +++ b/auto/bin/make_list.pl @@ -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"; }