diff options
Diffstat (limited to 'progs/fp/fp-tri.c')
-rw-r--r-- | progs/fp/fp-tri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c index 2512e824ee..843f897871 100644 --- a/progs/fp/fp-tri.c +++ b/progs/fp/fp-tri.c @@ -156,11 +156,11 @@ int main(int argc, char **argv) glutInitWindowPosition(0, 0); glutInitWindowSize(250, 250); glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH); - glutCreateWindow(argv[0]); + args(argc, argv); + glutCreateWindow(filename); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Display); - args(argc, argv); Init(); if (show_fps) { signal(SIGALRM, alarmhandler); |