diff options
author | Keith Whitwell <[email protected]> | 2008-09-12 10:28:36 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-12 10:28:36 +0100 |
commit | 1f135456795adfb1d739a6fb66ab9540aa79b461 (patch) | |
tree | 25997e5e9db90561d71a568958335a2882a43c61 /progs/fp/fp-tri.c | |
parent | af74abab6b9a1e32a1cc5cac7e547b953dcee0ab (diff) |
fp: put test name in window title, add run script
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 cb991f803eb..c07cfa2076e 100644 --- a/progs/fp/fp-tri.c +++ b/progs/fp/fp-tri.c @@ -154,11 +154,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); |