From: Vinson Lee Date: Tue, 21 Sep 2010 22:11:00 +0000 (-0700) Subject: glut: Define markWindowHidden for non-Windows only. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13cd131b0f713c468c3cf3b12f6439288d5a3161;p=mesa.git glut: Define markWindowHidden for non-Windows only. Fixes this GCC warning on MinGW build. glut_event.c:255: warning: 'markWindowHidden' defined but not used --- diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c index 4cdb814d76a..c450ee96b83 100644 --- 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) {