X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fgl%2Ftri.c;fp=apps%2Fgl%2Ftri.c;h=db4b4f4f353ae9a35a9e1564699e7007004cf46e;hp=ea3b595550f4193f3d8e56d4f2ea4ae48547f091;hb=b7c239243c7ffac5c55be98625a61f03fece080b;hpb=5cde484f5bded377ca859164aa6919b0cbe3e7d8 diff --git a/apps/gl/tri.c b/apps/gl/tri.c index ea3b595..db4b4f4 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); @@ -88,7 +88,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;