mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@153 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
d8f5c71357
commit
a17580e044
@ -46,7 +46,15 @@ foreach my $ext (sort @extlist)
|
||||
make_separator($extname);
|
||||
print "#ifdef $extname\n\n";
|
||||
print "static void _glewInfo_$extname (void)\n{\n";
|
||||
print " glewPrintExt(\"$extname\", $extvar, $extpre" . "ewGetExtension(\"$extname\"));\n";
|
||||
if ($extvar =~ /VERSION/)
|
||||
{
|
||||
print " glewPrintExt(\"$extname\", $extvar, $extvar);\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print " glewPrintExt(\"$extname\", $extvar, $extpre" .
|
||||
"ewGetExtension(\"$extname\"));\n";
|
||||
}
|
||||
output_decls($functions, \&make_pfn_info);
|
||||
print "}\n\n";
|
||||
print "#endif /* $extname */\n\n";
|
||||
|
@ -1,2 +1,2 @@
|
||||
GL_WIN_swap_hint
|
||||
void glAddSwapHintRectWin (GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
|
@ -50,7 +50,11 @@ static void glewPrintExt (const GLubyte* name, GLint def1, GLint def2)
|
||||
unsigned int i;
|
||||
fprintf(f, "\n%s:", name);
|
||||
for (i=0; i<62-strlen((const char*)name); i++) fprintf(f, " ");
|
||||
fprintf(f, "%s [%s]\n", def1 ? "OK" : "MISSING", def2 ? "OK" : "MISSING");
|
||||
fprintf(f, "%s ", def1 ? "OK" : "MISSING");
|
||||
if (def1 != def2)
|
||||
fprintf(f, "[%s]\n", def2 ? "OK" : "MISSING");
|
||||
else
|
||||
fprintf(f, "\n");
|
||||
for (i=0; i<strlen((const char*)name)+1; i++) fprintf(f, "-");
|
||||
fprintf(f, "\n");
|
||||
fflush(f);
|
||||
@ -71,7 +75,7 @@ static void glewInfoFunc (const GLubyte* name, GLint undefined)
|
||||
|
||||
static void _glewInfo_GL_VERSION_1_1 (void)
|
||||
{
|
||||
glewPrintExt("GL_VERSION_1_1", GLEW_VERSION_1_1, glewGetExtension("GL_VERSION_1_1"));
|
||||
glewPrintExt("GL_VERSION_1_1", GLEW_VERSION_1_1, GLEW_VERSION_1_1);
|
||||
}
|
||||
|
||||
#endif /* GL_VERSION_1_1 */
|
||||
|
Loading…
Reference in New Issue
Block a user