source: trunk/src/opengl/glut/glut_term.c

Last change on this file was 3579, checked in by jeroen, 25 years ago

* empty log message *

File size: 442 bytes
Line 
1/* $Id: glut_term.c,v 1.5 2000-05-20 13:48:23 jeroen Exp $ */
2/*
3 * GLUT Termination - on exit cleanup any open windows
4 *
5*/
6
7#include "glut.h"
8#include "glu.h"
9#include "glutint.h"
10
11void CDECL Glut32Terminate(void)
12{
13 int i;
14
15 /* Our app has ended - close all the open windows! */
16 for (i = 0; i < __glutWindowListSize; i++) {
17 if (__glutWindowList[i])
18 {
19 glutDestroyWindow(i+1);
20 }
21 }
22}
Note: See TracBrowser for help on using the repository browser.