mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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 <leo.liu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
16a1ef7860
commit
aa040d3b3c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue