glxgears: Make the swap interval configurable
commit67db4a25821142d042f9f09ca4dbe7ed67ec5c63
authorAdam Jackson <ajax@redhat.com>
Wed, 9 Sep 2020 22:46:50 +0000 (9 18:46 -0400)
committerAdam Jackson <ajax@redhat.com>
Fri, 11 Sep 2020 18:06:30 +0000 (11 14:06 -0400)
treebf65b309476b49057c98dd9f724384e6fc3fc372
parent0de7436be906b720f503668609404c97ea3a124b
glxgears: Make the swap interval configurable

As a bonus feature you can set negative values if your driver supports
GLX_EXT_swap_control_tear, though heaven help you if your renderer is so
slow that that improves things.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/xdemos/glxgears.c