[GRASS-SVN] r72939 - grass/trunk/lib/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 29 23:37:42 PDT 2018
Author: hcho
Date: 2018-06-29 23:37:42 -0700 (Fri, 29 Jun 2018)
New Revision: 72939
Modified:
grass/trunk/lib/nviz/render.c
Log:
nviz: Use direct rendering; Indirect rendering disabled by default in modern Xorg (since 1.17?)
Modified: grass/trunk/lib/nviz/render.c
===================================================================
--- grass/trunk/lib/nviz/render.c 2018-06-29 23:29:51 UTC (rev 72938)
+++ grass/trunk/lib/nviz/render.c 2018-06-30 06:37:42 UTC (rev 72939)
@@ -113,7 +113,7 @@
return -1;
}
- rwin->contextId = glXCreateContext(rwin->displayId, v, NULL, GL_FALSE);
+ rwin->contextId = glXCreateContext(rwin->displayId, v, NULL, GL_TRUE);
if (!rwin->contextId) {
G_warning(_("Unable to create rendering context"));
More information about the grass-commit
mailing list