X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fgl%2Ftri.c;h=c6c1849607b3ac6367541a58f5e414838335602f;hp=ea3b595550f4193f3d8e56d4f2ea4ae48547f091;hb=68f16d73f902506982815195220215866640ccdb;hpb=a6019a4b6c867eeb6294fe36bdb58044d1399ee3 diff --git a/apps/gl/tri.c b/apps/gl/tri.c index ea3b595..c6c1849 100644 --- a/apps/gl/tri.c +++ b/apps/gl/tri.c @@ -75,7 +75,7 @@ static void Draw(void) if (doubleBuffer) { glutSwapBuffers(); } - + glutDestroyWindow(win); exit(0); @@ -87,8 +87,7 @@ int main(int argc, char **argv) glutInit(&argc, argv); - glutInitWindowPosition(0, 0); - glutInitWindowSize( 250, 250); + glutInitWindowSize(250, 250); type = GLUT_RGB | GLUT_ALPHA; type |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;