aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2019-05-16 10:24:01 -0400
committerLeo Liu <[email protected]>2019-05-16 10:28:38 -0400
commitaa040d3b3c7d068e1ece61c71770c16a54745f89 (patch)
treeda01e9acc49694a62c263d5ee7f45dee1df31d16 /src/gallium/auxiliary/vl
parent16a1ef7860e4f0ce27faceb6874870d8d6fd5a56 (diff)
vl/dri3: set back buffer from output to NULL with front buffer case
Since the using output optimization is only for back buffer case Signed-off-by: Leo Liu <[email protected]> Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl')
-rw-r--r--src/gallium/auxiliary/vl/vl_winsys_dri3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index 1558d832555..77d1972af2c 100644
--- a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
+++ b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
@@ -438,6 +438,7 @@ dri3_set_drawable(struct vl_dri3_screen *scrn, Drawable drawable)
ret = false;
else {
scrn->is_pixmap = true;
+ scrn->base.set_back_texture_from_output = NULL;
if (scrn->front_buffer) {
dri3_free_front_buffer(scrn, scrn->front_buffer);
scrn->front_buffer = NULL;