mesa/src/glx
Hans de Goede 4c66f529a8 glx/glvnd: Fix GLXdispatchIndex sorting
Commit 8bca8d89ef ("glx/glvnd: Fix dispatch function names and indices")
fixed the sorting of the array initializers in g_glxglvnddispatchfuncs.c
because FindGLXFunction's binary search needs these to be sorted
alphabetically.

That commit also mostly fixed the sorting of the DI_foo defines in
g_glxglvnddispatchindices.h, which is what actually matters as the
arrays are initialized using "[DI_foo] = glXfoo," but a small error
crept in which at least causes glXGetVisualFromFBConfigSGIX to not
resolve, breaking games such as "The Binding of Isaac: Rebirth" and
"Crypt of the NecroDancer" from Steam not working and possible causes
other problems too.

This commit fixes the last of the sorting errors, fixing these mentioned
games not working.

Fixes: 8bca8d89ef ("glx/glvnd: Fix dispatch function names and indices")
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-02-15 09:55:57 +01:00
..
apple glx/apple: automake: include builddir prior to srcdir 2017-01-27 17:56:55 +00:00
tests glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
windows glx/windows: automake: include builddir prior to srcdir 2017-01-27 17:56:55 +00:00
.gitignore
applegl_glx.c
clientattrib.c
clientinfo.c
compsize.c glx: Fix image size computation for EXT_texture_integer (v2) 2015-07-31 12:32:16 -04:00
create_context.c
dri2.c glx: remove DRI2DriverPrimeShift compile guards 2017-02-13 10:13:46 +00:00
dri2.h
dri2_glx.c loader: remove loader_get_driver_for_fd() driver_type 2016-10-18 17:06:29 +01:00
dri2_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri3_glx.c glx: guard swap-interval functions against destroyed drawables 2017-02-06 17:39:30 +01:00
dri3_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common.c dri: make use of loader_get_extensions_name(..) helper 2016-11-15 18:15:16 +00:00
dri_common.h
dri_common_interop.c mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common_query_renderer.c mesa/glx: Resolve GCC sign-compare warning. 2015-08-18 11:34:43 -07:00
dri_glx.c glx: remove always true XDAMAGE_1_1_INTERFACE guard 2017-02-13 10:14:32 +00:00
dri_sarea.h
drisw_glx.c glx: update to updated version of EXT_create_context_es2_profile 2016-02-03 15:44:51 -05:00
drisw_priv.h
driwindows_glx.c direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
eval.c
g_glxglvnddispatchfuncs.c glx/glvnd: Fix dispatch function names and indices 2016-11-02 14:52:38 -04:00
g_glxglvnddispatchindices.h glx/glvnd: Fix GLXdispatchIndex sorting 2017-02-15 09:55:57 +01:00
glx_error.c glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
glx_error.h glx: Don't enclose includes inside extern "C" { }. 2016-04-26 21:28:34 +01:00
glx_pbuffer.c glx: unify GLX_SGIX_pbuffer aliased declarations 2017-01-18 16:01:14 +00:00
glx_query.c
glxclient.h direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
glxcmds.c glx: guard swap-interval functions against destroyed drawables 2017-02-06 17:39:30 +01:00
glxconfig.c
glxconfig.h
glxcurrent.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
glxext.c glx: return GL_FALSE from glx_screen_init where applicable. 2016-10-06 15:03:47 +01:00
glxextensions.c glx: update to updated version of EXT_create_context_es2_profile 2016-02-03 15:44:51 -05:00
glxextensions.h mesa: make use of HAVE_FUNC_ATTRIBUTE_ALIAS macro 2017-01-18 16:01:14 +00:00
glxglvnd.c glx/glvnd: Use bsearch() in FindGLXFunction instead of open-coding it 2016-11-02 14:52:43 -04:00
glxglvnd.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxglvnddispatchfuncs.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxhash.c
glxhash.h
indirect_glx.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
indirect_vertex_array.h
indirect_vertex_array_priv.h glx: Fix indirect multi-texture GL_DOUBLE coordinate arrays. 2016-07-08 14:03:16 -07:00
indirect_vertex_program.c
indirect_window_pos.c
Makefile.am glx: automake: include builddir prior to srcdir 2017-01-27 17:56:55 +00:00
packrender.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
packsingle.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
pixel.c
pixelstore.c glx: Use _mesa_lroundevenf() in glPixelStoref(). 2015-08-04 10:33:16 -07:00
query_renderer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
render2.c
renderpix.c
SConscript scons: whitespace cleanup 2016-05-25 12:23:12 -06:00
single2.c
singlepix.c
vertarr.c
XF86dri.c
xf86dri.h
xf86dristr.h
xfont.c