diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index a6e8176e..f0602ed0 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -1284,18 +1284,21 @@ void gGraphView::DrawTextQue() glPushAttrib(GL_COLOR_BUFFER_BIT); //glFlush(); //glEnable(GL_BLEND); - QPainter painter(this); + QPainter painter(QGLContext::currentContext()->device()); int w,h; for (int i=0;i