+ change API of GLPainter

This commit is contained in:
wmayer
2014-10-22 14:48:38 +02:00
parent 8fb596221f
commit 621aebdbef
4 changed files with 53 additions and 53 deletions

View File

@@ -207,7 +207,7 @@ void Flag::drawLine (View3DInventorViewer* v, int tox, int toy)
if (false) fromx += width();
GLPainter p;
p.begin(v);
p.begin(v->getGLWidget());
p.setDrawBuffer(GL_BACK);
// the line