Gui: Remove unused ref to GL context
This commit is contained in:
committed by
Chris Hennes
parent
123f05aecb
commit
78c655af20
@@ -168,8 +168,8 @@ public:
|
||||
|
||||
void initializeGL() override
|
||||
{
|
||||
QOpenGLContext *context = QOpenGLContext::currentContext();
|
||||
#if defined (_DEBUG) && 0
|
||||
QOpenGLContext *context = QOpenGLContext::currentContext();
|
||||
if (context && context->hasExtension(QByteArrayLiteral("GL_KHR_debug"))) {
|
||||
QOpenGLDebugLogger *logger = new QOpenGLDebugLogger(this);
|
||||
connect(logger, &QOpenGLDebugLogger::messageLogged, this, &CustomGLWidget::handleLoggedMessage);
|
||||
|
||||
Reference in New Issue
Block a user