Skip to content
Commit b7769cdf authored by Emma Anholt's avatar Emma Anholt Committed by Dylan Baker
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 e46e3bfd
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