glx/dri2: Implement dri2FlushFrontBuffer explicitly
No functional change. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
0ba4e251a1
commit
d5ba095982
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user