Thu, 09 Feb 2017 13:17:22 +0200
Removed the unneeded makeCurrent overload
src/glRenderer.cpp | file | annotate | diff | comparison | revisions | |
src/glRenderer.h | file | annotate | diff | comparison | revisions |
--- a/src/glRenderer.cpp Thu Feb 09 13:13:46 2017 +0200 +++ b/src/glRenderer.cpp Thu Feb 09 13:17:22 2017 +0200 @@ -1184,12 +1184,6 @@ return m_mousePositionF; } -void GLRenderer::makeCurrent() -{ - QGLWidget::makeCurrent(); - initializeOpenGLFunctions(); -} - int GLRenderer::depthNegateFactor() const { return g_cameraInfo[camera()].negatedDepth ? -1 : 1;
--- a/src/glRenderer.h Thu Feb 09 13:13:46 2017 +0200 +++ b/src/glRenderer.h Thu Feb 09 13:17:22 2017 +0200 @@ -96,7 +96,6 @@ bool isDrawOnly() const; bool isPicking() const; Qt::KeyboardModifiers keyboardModifiers() const; - void makeCurrent(); bool mouseHasMoved() const; QPoint const& mousePosition() const; QPointF const& mousePositionF() const;