X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Ftrivial%2Ftri-mask-tri.c;h=d62620905ddf8deaa302dc8a783eb864373b30e7;hb=8648c2685870174cf620ef15de70ef030a8d5a20;hp=8333f7ed8ab8820835916ac27b04701caf1483b2;hpb=a22d865f93a1db7f72e0bfe216810f67bf4c2f2c;p=mesa.git diff --git a/progs/trivial/tri-mask-tri.c b/progs/trivial/tri-mask-tri.c index 8333f7ed8ab..d62620905dd 100644 --- a/progs/trivial/tri-mask-tri.c +++ b/progs/trivial/tri-mask-tri.c @@ -39,6 +39,7 @@ static void Init(void) fprintf(stderr, "GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER)); fprintf(stderr, "GL_VERSION = %s\n", (char *) glGetString(GL_VERSION)); fprintf(stderr, "GL_VENDOR = %s\n", (char *) glGetString(GL_VENDOR)); + fflush(stderr); glClearColor(0.0, 0.0, 1.0, 0.0); } @@ -143,7 +144,7 @@ int main(int argc, char **argv) glutInitWindowPosition(100, 0); glutInitWindowSize(Width, Height); glutInitDisplayMode(type); - Win = glutCreateWindow("First Tri"); + Win = glutCreateWindow(*argv); Init(); glutReshapeFunc(Reshape); glutKeyboardFunc(Key);