From f5fad95455bb3f9bd731451ea9811e3d0cc51660 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 26 Jan 2009 10:44:34 +0000 Subject: glut: Minor cleanups. --- src/glut/glx/glut_input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glut/glx/glut_input.c') 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) -- cgit v1.2.3