Demos (master): ipers: destroy the window on cleanup
Marek Olšák
mareko at kemper.freedesktop.org
Thu Mar 10 21:57:52 UTC 2011
Module: Demos
Branch: master
Commit: 0eef80d408b68b77516372895f4806519f781402
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=0eef80d408b68b77516372895f4806519f781402
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Mar 10 22:32:03 2011 +0100
ipers: destroy the window on cleanup
---
src/demos/ipers.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/demos/ipers.c b/src/demos/ipers.c
index f8257bc..be7e46d 100644
--- a/src/demos/ipers.c
+++ b/src/demos/ipers.c
@@ -252,6 +252,8 @@ cleanup(void)
glDeleteLists(LODdlist[i], 1);
glDeleteLists(LODnumpoly[i], 1);
}
+
+ glutDestroyWindow(glutGetWindow());
}
More information about the mesa-commit
mailing list