mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 07:00:45 +02:00
glx,egl: use driGetDriInfoXML
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/833>
This commit is contained in:
parent
fca4c5adc4
commit
2edd0c4bbd
2 changed files with 2 additions and 2 deletions
|
|
@ -588,7 +588,7 @@ dri2_query_driver_config(_EGLDisplay *disp)
|
|||
struct dri2_egl_display *dri2_dpy = dri2_egl_display_lock(disp);
|
||||
char *ret;
|
||||
|
||||
ret = pipe_loader_get_driinfo_xml(dri2_dpy->driver_name);
|
||||
ret = driGetDriInfoXML(dri2_dpy->driver_name);
|
||||
|
||||
mtx_unlock(&dri2_dpy->lock);
|
||||
|
||||
|
|
|
|||
|
|
@ -715,7 +715,7 @@ glXGetDriverConfig(const char *driverName)
|
|||
if (!e)
|
||||
goto out;
|
||||
|
||||
e->config = pipe_loader_get_driinfo_xml(driverName);
|
||||
e->config = driGetDriInfoXML(driverName);
|
||||
e->driverName = strdup(driverName);
|
||||
if (!e->config || !e->driverName) {
|
||||
free(e->config);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue