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?p=apitrace-tests;a=commitdiff_plain;h=a6019a4b6c867eeb6294fe36bdb58044d1399ee3 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)