summaryrefslogtreecommitdiff
path: root/src/glut/dos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/dos/window.c')
-rw-r--r--src/glut/dos/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/dos/window.c b/src/glut/dos/window.c
index af00897f3e..ed95451e8d 100644
--- a/src/glut/dos/window.c
+++ b/src/glut/dos/window.c
@@ -37,7 +37,7 @@
GLUTwindow *g_curwin;
static GLuint swaptime, swapcount;
-static DMesaVisual visual = NULL;
+static DMesaVisual visual = NULL;
GLUTwindow *g_windows[MAX_WINDOWS];
@@ -49,7 +49,7 @@ static void clean (void)
for (i=1; i<=MAX_WINDOWS; i++) {
glutDestroyWindow(i);
}
- if (visual) DMesaDestroyVisual(visual);
+ if (visual) DMesaDestroyVisual(visual);
pc_close_stdout();
pc_close_stderr();