[Mesa-dev] [PATCH] glx: allow 0 for glXSwapIntervalSGI

Grazvydas Ignotas notasas at gmail.com
Wed Mar 8 10:25:31 UTC 2017


On Wed, Mar 8, 2017 at 4:37 AM, Ian Romanick <idr at freedesktop.org> wrote:
> On 03/07/2017 05:09 PM, Grazvydas Ignotas wrote:
>> Makes vsync option work in The Talos Principle.
>
> NAK.  The GLX_SGI_swap_control spec says:
>
>     glXSwapIntervalSGI returns GLX_BAD_VALUE if parameter <interval> is
>     less than or equal to zero.
>
> They should use glXSwapIntervalMESA instead.  This is one of the reasons
> we made the GLX_MESA_swap_control extension.

It turns out it doesn't help anyway, Talos only uses
glXSwapIntervalSGI when run under apitrace, so this "fix" doesn't work
on normal run and it's still unclear what's wrong with it. It sucks
apitrace can affect app behavior like this :(

GraÅžvydas


More information about the mesa-dev mailing list