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