diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-21 15:17:52 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:32 +0100 |
commit | 8aa1ec5c51cd138952f9098ac0288a46099eda6e (patch) | |
tree | 0cd0f6b77068cff9c556e4199b001450f448288e | |
parent | def76664f58b26f5f627134505bff073e5688591 (diff) |
glut: Define eventParser for non-Windows only.
Fixes this GCC warning on MinGW build.
glut_input.c:295: warning: 'eventParser' defined but not used
-rw-r--r-- | src/glut/glx/glut_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c index 7d2eda0..53f9dc5 100644 --- a/src/glut/glx/glut_input.c +++ b/src/glut/glx/glut_input.c @@ -292,10 +292,10 @@ __glutProcessDeviceEvents(XEvent * event) return 0; } +#if !defined(_WIN32) static GLUTeventParser eventParser = {__glutProcessDeviceEvents, NULL}; -#if !defined(_WIN32) static void addDeviceEventParser(void) { |