trival: Make the last of progs show the name

This commit is contained in:
Jakob Bornecrantz
2009-02-19 22:48:21 +01:00
parent 2b32c7dff5
commit 4e37f10806
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ main(int argc, char **argv)
glutInitWindowPosition(0, 0);
glutInitWindowSize( 250, 250);
glutInitDisplayMode(type);
if (glutCreateWindow("tri-long-fixedfunc") == GL_FALSE) {
if (glutCreateWindow(*argv) == GL_FALSE) {
exit(1);
}
glewInit();
+1 -1
View File
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
type = GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH | GLUT_STENCIL;
glutInitDisplayMode(type);
if (glutCreateWindow("Stencil Test") == GL_FALSE) {
if (glutCreateWindow(*argv) == GL_FALSE) {
exit(1);
}
+1 -1
View File
@@ -138,7 +138,7 @@ int main(int argc, char **argv)
type |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;
glutInitDisplayMode(type);
if (glutCreateWindow("Filled and unfilled fog tri") == GL_FALSE) {
if (glutCreateWindow(*argv) == GL_FALSE) {
exit(1);
}