Commit 17858596 authored by Sven Langkamp's avatar Sven Langkamp

that wasn't supposed to be commited

parent 9721e75c
......@@ -226,13 +226,11 @@ void KisOpenGLCanvas2::paintGL()
bool KisOpenGLCanvas2::isBusy() const
{
return false;
if (!d->glSyncObject) return false;
GLint status = -1;
glGetSynciv(d->glSyncObject, GL_SYNC_STATUS, 1, 0, &status);
kDebug() << rand() << "status " << (status == GL_UNSIGNALED);
return status == GL_UNSIGNALED;
}
......
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