Disable SGI_swap_control extension for DRI2
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 6 Jun 2009 18:46:22 +0000 (14:46 -0400)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Jun 2009 22:15:20 +0000 (15:15 -0700)
commit9d367d43b2fddb9a27d4be6302da172ab773ca91
tree1c043fd2a2fc4503cbd65d6aec2f16e26d1ca873
parent0584b6e433753dd01101c6824f6f6336c40d0f1f
Disable SGI_swap_control extension for DRI2

We currently don't have support for SGI_swap_control for direct
contexts with DRI2, so disable reporting the extension. Reporting
the extension, and then having glXSwapIntervalSGI() "succeed"
but do nothing can confuse applications.

https://bugs.freedesktop.org/show_bug.cgi?id=22123
(cherry picked from commit 279143c6e808b37c333321b696d80df77f709a04)
src/glx/x11/dri_common.c