Skip to content
Commit 2b50357c authored by Emma Anholt's avatar Emma Anholt Committed by Emil Velikov
Browse files

dri3: Return the current swap interval from glXGetSwapIntervalMESA().



We were caching only the value set with glXSwapIntervalSGI(), missing out
on the default setting of the swap interval by the loader.  This fixes
glxgears's warning about being vblank synchronized by default.

Fixes: 9777c423 ("loader: drop the [gs]et_swap_interval callbacks")
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
(cherry picked from commit edc7deec)
parent 12ab2d00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment