From 1f135456795adfb1d739a6fb66ab9540aa79b461 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 12 Sep 2008 10:28:36 +0100 Subject: fp: put test name in window title, add run script --- progs/fp/fp-tri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/fp/fp-tri.c') diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c index cb991f803e..c07cfa2076 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); -- cgit v1.2.3