diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 253d06611..afaf44e7e 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -754,8 +754,11 @@ dri2GetBuffersWithFormat(__DRIdrawable * driDrawable, static void dri2FlushFrontBuffer(__DRIdrawable * driDrawable, void *loaderPrivate) { + __GLXDRIdrawable *private = (__GLXDRIdrawable *) loaderPrivate; (void) driDrawable; - __glXDRIdrawableWaitGL((__GLXdrawable *) loaderPrivate); + + copy_box(loaderPrivate, DRI2BufferFrontLeft, DRI2BufferFakeFrontLeft, + 0, 0, private->width, private->height); } static const __DRIdri2LoaderExtension loaderExtension = {