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:
@@ -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
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user