summaryrefslogtreecommitdiffstats
path: root/src/loader/loader_dri3_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/loader_dri3_helper.c')
-rw-r--r--src/loader/loader_dri3_helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 86ae5aecd5f..3ce03524dac 100644
--- a/src/loader/loader_dri3_helper.c
+++ b/src/loader/loader_dri3_helper.c
@@ -70,10 +70,8 @@ dri3_update_num_back(struct loader_dri3_drawable *draw)
{
if (draw->flipping)
draw->num_back = 3;
- else if (draw->vtable->get_swap_interval(draw) != 0)
- draw->num_back = 2;
else
- draw->num_back = 1;
+ draw->num_back = 2;
}
void