Now that LOCK_HARDWARE is gone, we don't have a convenient place to
update the renderbuffers everywhere we need them. So grab new buffers
when we invalidate the old ones until we optimize things further.
intelDRI2Flush(drawable);
drawable->validBuffers = GL_FALSE;
intelDRI2Flush(drawable);
drawable->validBuffers = GL_FALSE;
+
+ intel_update_renderbuffers(intel->driContext, drawable);
}
static const struct __DRI2flushExtensionRec intelFlushExtension = {
}
static const struct __DRI2flushExtensionRec intelFlushExtension = {