From: José Fonseca Date: Sat, 29 Oct 2011 20:40:26 +0000 (+0100) Subject: Ensure the app terminates. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=a6019a4b6c867eeb6294fe36bdb58044d1399ee3;hp=2954c5f9db610158245e908cc54d7494da3487dc;p=apitrace-tests Ensure the app terminates. glutDestroyWindow apparently does not guarantee that on all platforms. --- diff --git a/apps/gl/tri.c b/apps/gl/tri.c index f5a8be8..ea3b595 100644 --- a/apps/gl/tri.c +++ b/apps/gl/tri.c @@ -77,6 +77,8 @@ static void Draw(void) } glutDestroyWindow(win); + + exit(0); } int main(int argc, char **argv)