mesa: rename CurrentClientDispatch to GLApi

I like this more. The name self-documents itself. It's always equal
to the dispatch set in glapi.

GLAPI is a definition, so can't use that.

Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21777>
This commit is contained in:
Marek Olšák
2022-08-10 00:27:22 -04:00
parent 6b22642e21
commit dae902e11e
6 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -134,10 +134,10 @@ class PrintGlOffsets(gl_XML.gl_print_base):
* #define KEYWORD2
* #define NAME(func) gl##func
* #define DISPATCH(func, args, msg) \\
* struct _glapi_table *dispatch = CurrentClientDispatch; \\
* struct _glapi_table *dispatch = GLApi; \\
* (*dispatch->func) args
* #define RETURN DISPATCH(func, args, msg) \\
* struct _glapi_table *dispatch = CurrentClientDispatch; \\
* struct _glapi_table *dispatch = GLApi; \\
* return (*dispatch->func) args
*
*/