diff options
author | Emil Velikov <[email protected]> | 2016-11-15 18:01:20 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-11-15 18:15:15 +0000 |
commit | fb10c8987745cbe69c5f36e9c1c6f2c70b44b761 (patch) | |
tree | 4f7f12da06269995b9595c4270f63f55a7f544d3 /src/egl/drivers | |
parent | 358079da2d6705cf4966b8de802e99362c39c38a (diff) |
Revert "dri: make use of dri_get_extensions_name(..) helper"
This reverts commit 1a21d21580965eff751414d140b3c176eeee2eb3.
Pushed the wrong version of the patch.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 593dd012330..d9e2ad701b7 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -514,9 +514,8 @@ dri2_open_driver(_EGLDisplay *disp) _eglLog(_EGL_DEBUG, "DRI2: dlopen(%s)", path); - get_extensions_name = dri_get_extensions_name(dri2_dpy->driver_name); - - if (get_extensions_name) { + if (asprintf(&get_extensions_name, "%s_%s", + __DRI_DRIVER_GET_EXTENSIONS, dri2_dpy->driver_name) != -1) { get_extensions = dlsym(dri2_dpy->driver, get_extensions_name); if (get_extensions) { extensions = get_extensions(); |