projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13cd131
)
glut: Define eventParser for non-Windows only.
author
Vinson Lee
<vlee@vmware.com>
Tue, 21 Sep 2010 22:17:52 +0000
(15:17 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 21 Sep 2010 22:17:52 +0000
(15:17 -0700)
Fixes this GCC warning on MinGW build.
glut_input.c:295: warning: 'eventParser' defined but not used
src/glut/glx/glut_input.c
patch
|
blob
|
history
diff --git
a/src/glut/glx/glut_input.c
b/src/glut/glx/glut_input.c
index 7d2eda00f71c6e7dbed70b1fec7d8dfb3923d6d2..53f9dc5e0f8cd4e46068a24d5e2cfdc63fb830b6 100644
(file)
--- 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)
{