[GRASS-SVN] r31856 - grass/trunk/visualization/nviz/src
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 26 21:00:59 EDT 2008
Author: glynn
Date: 2008-06-26 21:00:59 -0400 (Thu, 26 Jun 2008)
New Revision: 31856
Modified:
grass/trunk/visualization/nviz/src/do_zoom.c
Log:
Conditionalise (X-specific) Error_Handler() on OPENGL_X11
Modified: grass/trunk/visualization/nviz/src/do_zoom.c
===================================================================
--- grass/trunk/visualization/nviz/src/do_zoom.c 2008-06-26 21:41:48 UTC (rev 31855)
+++ grass/trunk/visualization/nviz/src/do_zoom.c 2008-06-27 01:00:59 UTC (rev 31856)
@@ -352,6 +352,7 @@
#endif
}
+#ifdef OPENGL_X11
static int Error_Handler(ClientData closure, XErrorEvent *event)
{
if (!dpy)
@@ -359,6 +360,7 @@
XmuPrintDefaultErrorMessage(dpy, event, stderr);
return 0;
}
+#endif
int Create_OS_Ctx(int width, int height)
{
More information about the grass-commit
mailing list