[GRASS-SVN] r31911 -
grass/branches/develbranch_6/visualization/nviz/src
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 30 16:43:08 EDT 2008
Author: neteler
Date: 2008-06-30 16:43:08 -0400 (Mon, 30 Jun 2008)
New Revision: 31911
Modified:
grass/branches/develbranch_6/visualization/nviz/src/do_zoom.c
Log:
Conditionalise (X-specific) Error_Handler() on OPENGL_X11 (merge from trunk)
Modified: grass/branches/develbranch_6/visualization/nviz/src/do_zoom.c
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/src/do_zoom.c 2008-06-30 20:40:56 UTC (rev 31910)
+++ grass/branches/develbranch_6/visualization/nviz/src/do_zoom.c 2008-06-30 20:43:08 UTC (rev 31911)
@@ -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