summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-21 15:11:00 -0700
committerVinson Lee <vlee@vmware.com>2010-09-21 15:11:00 -0700
commit13cd131b0f713c468c3cf3b12f6439288d5a3161 (patch)
tree2bc66aa3435ea98c8b8e961edfaffc5dc739b58e
parent9e8d9f456f6c03ac135fd7a1a1443279358494fc (diff)
glut: Define markWindowHidden for non-Windows only.
Fixes this GCC warning on MinGW build. glut_event.c:255: warning: 'markWindowHidden' defined but not used
-rw-r--r--src/glut/glx/glut_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c
index 4cdb814d76..c450ee96b8 100644
--- a/src/glut/glx/glut_event.c
+++ b/src/glut/glx/glut_event.c
@@ -251,6 +251,8 @@ __glutRegisterEventParser(GLUTeventParser * parser)
eventParserList = parser;
}
+
+#if !defined(_WIN32)
static void
markWindowHidden(GLUTwindow * window)
{
@@ -272,8 +274,6 @@ markWindowHidden(GLUTwindow * window)
}
}
-#if !defined(_WIN32)
-
static void
purgeStaleWindow(Window win)
{