diff options
author | Adam Jackson <ajax@redhat.com> | 2016-03-31 15:51:39 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-05-11 11:23:20 -0400 |
commit | d5ba09598210063926aeff55ac58d2b7020d9a03 (patch) | |
tree | b1b6eb0d9d609133b83d1ea4abb92bc0bb23e00f | |
parent | 0ba4e251a1012bd5a2eab83e2c51006ec3805394 (diff) |
glx/dri2: Implement dri2FlushFrontBuffer explicitly
No functional change.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | glx/glxdri2.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 = { |