summaryrefslogtreecommitdiffstats
path: root/src/glx/g_glxglvnddispatchfuncs.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-05-11 14:01:54 -0400
committerEmil Velikov <[email protected]>2016-05-30 17:53:44 +0100
commiteab7e54981017d7b87242505a215a370dfcd5024 (patch)
treea7275e7f7563589bbc3d6f9a5bf84143b5e9006b /src/glx/g_glxglvnddispatchfuncs.c
parentf9a35bf0125516d9cc660818e7ae2e9dc204b9c5 (diff)
glx/glvnd: Use strcmp() based binary search in FindGLXFunction()
It will allows us to find the function within 6 attempts, out of the ~80 entry long table. v2: calculate middle on each iteration, correctly set the lower limit. Reviewed-by: Adam Jackson <[email protected]> (v1) Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/g_glxglvnddispatchfuncs.c')
0 files changed, 0 insertions, 0 deletions