[GRASS-SVN] r72968 - grass/trunk/lib/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 9 19:55:36 PDT 2018
Author: hcho
Date: 2018-07-09 19:55:36 -0700 (Mon, 09 Jul 2018)
New Revision: 72968
Modified:
grass/trunk/lib/nviz/render.c
Log:
nviz: Directly call glViewport
Modified: grass/trunk/lib/nviz/render.c
===================================================================
--- grass/trunk/lib/nviz/render.c 2018-07-09 20:30:24 UTC (rev 72967)
+++ grass/trunk/lib/nviz/render.c 2018-07-10 02:55:36 UTC (rev 72968)
@@ -218,7 +218,7 @@
wglMakeCurrent(rwin->displayId, rwin->contextId);
#endif
- GS_set_viewport(0, rwin->width, 0, rwin->height);
+ glViewport(0, 0, rwin->width, rwin->height);
return 1;
}
More information about the grass-commit
mailing list