diff options
author | Emil Velikov <[email protected]> | 2017-05-11 22:31:49 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-29 16:59:41 +0100 |
commit | d6ecd1647fe2f568703b533c5070a87bc3e66701 (patch) | |
tree | d0913800d378cc4fc1727306e1659ccc47bdf811 | |
parent | acf125ed3aa64a1f62c1372b01e8274b50fc081a (diff) |
egl/surfaceless: use the image_driver for image_loader
Analogous to previous commit.
Cc: Chad Versace <[email protected]>
Cc: Gurchetan Singh <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r-- | src/egl/drivers/dri2/platform_surfaceless.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/egl/drivers/dri2/platform_surfaceless.c b/src/egl/drivers/dri2/platform_surfaceless.c index 6aea5876ae0..6563e466c09 100644 --- a/src/egl/drivers/dri2/platform_surfaceless.c +++ b/src/egl/drivers/dri2/platform_surfaceless.c @@ -134,10 +134,10 @@ dri2_surfaceless_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, goto cleanup_surface; dri2_surf->dri_drawable = - dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, - dri2_surf); + dri2_dpy->image_driver->createNewDrawable(dri2_dpy->dri_screen, config, + dri2_surf); if (dri2_surf->dri_drawable == NULL) { - _eglError(EGL_BAD_ALLOC, "dri2->createNewDrawable"); + _eglError(EGL_BAD_ALLOC, "image->createNewDrawable"); goto cleanup_surface; } @@ -297,7 +297,7 @@ dri2_initialize_surfaceless(_EGLDriver *drv, _EGLDisplay *disp) dri2_dpy->driver_name = loader_get_driver_for_fd(dri2_dpy->fd); if (dri2_dpy->driver_name) { - if (dri2_load_driver(disp)) { + if (dri2_load_driver_dri3(disp)) { driver_loaded = 1; break; } |