-/*
- *-----------------------------------------------------------------------------
- * The display is being taken away from us. Free up malloc'ed
- * memory and X resources that we've alloc'ed. Only called
- * once, we must zap everything for every screen.
- *-----------------------------------------------------------------------------
- */
-
-ENTRYPOINT void release_projectiveplane(ModeInfo *mi)
-{
- if (projectiveplane != NULL)
- {
- int screen;
-
- for (screen = 0; screen < MI_NUM_SCREENS(mi); screen++)
- {
- projectiveplanestruct *pp = &projectiveplane[screen];
-
- if (pp->glx_context)
- pp->glx_context = (GLXContext *)NULL;
- }
- (void) free((void *)projectiveplane);
- projectiveplane = (projectiveplanestruct *)NULL;
- }
- FreeAllGL(mi);
-}
-