glx: Pull use_x_font out of the context vtable
The client-side implementation of this operates entirely in terms of the GL and X client APIs. There's nothing DRI-specific about it, evidenced by apple and windows using it unchanged. Save a little code size by handling the direct/indirect difference directly. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9690>
This commit is contained in:
@@ -714,7 +714,6 @@ static const struct glx_context_vtable dri3_context_vtable = {
|
||||
.unbind = dri3_unbind_context,
|
||||
.wait_gl = dri3_wait_gl,
|
||||
.wait_x = dri3_wait_x,
|
||||
.use_x_font = DRI_glXUseXFont,
|
||||
.bind_tex_image = dri3_bind_tex_image,
|
||||
.release_tex_image = dri3_release_tex_image,
|
||||
.get_proc_address = NULL,
|
||||
|
Reference in New Issue
Block a user