# HG changeset patch # User Teemu Piippo # Date 1486639042 -7200 # Node ID 97279c658e2b771adc4e01cbc4bd097be0ff60c5 # Parent 7541b020905739ab02f617200aea110e494177c4 Removed the unneeded makeCurrent overload diff -r 7541b0209057 -r 97279c658e2b src/glRenderer.cpp --- 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; diff -r 7541b0209057 -r 97279c658e2b src/glRenderer.h --- 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;