summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_input.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-26 10:44:34 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-26 20:28:04 +0000
commitf5fad95455bb3f9bd731451ea9811e3d0cc51660 (patch)
treed9422aed407e485e096908df2c1aa43d8d951dbf /src/glut/glx/glut_input.c
parentf25421a59b002a8b679df86c0a072cf853e94f10 (diff)
glut: Minor cleanups.
Diffstat (limited to 'src/glut/glx/glut_input.c')
-rw-r--r--src/glut/glx/glut_input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c
index a76ff9a435..7d2eda00f7 100644
--- a/src/glut/glx/glut_input.c
+++ b/src/glut/glx/glut_input.c
@@ -295,6 +295,7 @@ __glutProcessDeviceEvents(XEvent * event)
static GLUTeventParser eventParser =
{__glutProcessDeviceEvents, NULL};
+#if !defined(_WIN32)
static void
addDeviceEventParser(void)
{
@@ -305,6 +306,7 @@ addDeviceEventParser(void)
been_here = True;
__glutRegisterEventParser(&eventParser);
}
+#endif
static int
probeDevices(void)