Unbreak build

9f3798be7ca9cbd7ea7e7b0eef4f2dab002b64d8 was not yet complete here
parent dcc3bb84
......@@ -367,11 +367,15 @@ void KisCanvas2::createQPainterCanvas()
void KisCanvas2::createOpenGLCanvas()
{
#ifdef HAVE_OPENGL
KisConfig cfg;
m_d->openGLFilterMode = cfg.openGLFilteringMode();
m_d->currentCanvasIsOpenGL = true;
KisOpenGLCanvas2 *canvasWidget = new KisOpenGLCanvas2(this, m_d->coordinatesConverter, 0, m_d->view->image(), m_d->displayColorConverter);
setCanvasWidget(canvasWidget);
#else
qFatal("Bad use of createOpenGLCanvas(). It shouldn't have happened =(");
#endif
}
void KisCanvas2::createCanvas(bool useOpenGL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment