From b990142e05bbaca7eb192dcfc9b985b0362be825 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sat, 22 Oct 2022 03:20:49 +0800 Subject: [PATCH] xlib: Implement xmesa_get_name by return literal "Mesa " PACKAGE_VERSION directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This literal is consistence with st_api::name comes from global variable st_gl_api that will be removed in following commits Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Reviewed-by: Marek Olšák Part-of: --- src/gallium/frontends/glx/xlib/xm_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/glx/xlib/xm_api.c b/src/gallium/frontends/glx/xlib/xm_api.c index 7e43ba2276e..2795ba88bc8 100644 --- a/src/gallium/frontends/glx/xlib/xm_api.c +++ b/src/gallium/frontends/glx/xlib/xm_api.c @@ -914,7 +914,7 @@ void XMesaDestroyVisual( XMesaVisual v ) const char * xmesa_get_name(void) { - return stapi->name; + return "Mesa " PACKAGE_VERSION; }