mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
14 lines
472 B
Diff
14 lines
472 B
Diff
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
|
|
index 6bb11c4..7bd79af 100644
|
|
--- a/src/loader/loader_dri3_helper.c
|
|
+++ b/src/loader/loader_dri3_helper.c
|
|
@@ -234,6 +234,9 @@ loader_dri3_drawable_fini(struct loader_dri3_drawable *draw)
|
|
{
|
|
int i;
|
|
|
|
+ if (draw->special_event)
|
|
+ loader_dri3_swapbuffer_barrier(draw);
|
|
+
|
|
draw->ext->core->destroyDrawable(draw->dri_drawable);
|
|
|
|
for (i = 0; i < ARRAY_SIZE(draw->buffers); i++) {
|