Commit 10b8b89e authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Unbreak build with HAVE_OPENGL undefined

fixup for cf69d1e294ceb63cfbadbff95836433c2314cf21
parent b47b65b7
......@@ -68,9 +68,11 @@ void KisOpenGL::initialize()
format.setSwapInterval(0); // Disable vertical refresh syncing
int KisOpenGL::initializeContext(QOpenGLContext* s) {
KisConfig cfg;
dbgUI << "OpenGL: Opening new context";
......@@ -115,6 +117,7 @@ int KisOpenGL::initializeContext(QOpenGLContext* s) {
NeedsFenceWorkaround = true;
NeedsFenceWorkaround = false;
return glVersion;
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