aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-18 20:22:58 +0200
committerMarek Olšák <[email protected]>2017-10-18 20:23:24 +0200
commit2cb9ab53dd3ae6850a2611b01695f7449d24614d (patch)
treedcb21415d557f1a6985fe6bcc418daa84dea1cef /src/egl/drivers
parentf37af5ec8d351fe20e74b05059bea12236220e02 (diff)
Revert "egl: drop EGL driver `name`"
This reverts commit 6414d6bd8d2897f4ba643357fe3037f3acd60879. This is needed to apply the next revert.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index f9fc71e51bf..0750dc19469 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -3244,4 +3244,6 @@ _eglInitDriver(_EGLDriver *dri2_drv)
dri2_drv->API.GLInteropQueryDeviceInfo = dri2_interop_query_device_info;
dri2_drv->API.GLInteropExportObject = dri2_interop_export_object;
dri2_drv->API.DupNativeFenceFDANDROID = dri2_dup_native_fence_fd;
+
+ dri2_drv->Name = "DRI2";
}
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index 0b56653395a..590e43f00fb 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -325,5 +325,7 @@ _eglInitDriver(_EGLDriver *driver)
driver->API.SwapBuffers = haiku_swap_buffers;
+ driver->Name = "Haiku";
+
TRACE("API Calls defined\n");
}