summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp2
-rw-r--r--src/egl/main/eglapi.c3
-rw-r--r--src/egl/main/egldriver.c2
-rw-r--r--src/egl/main/egldriver.h2
5 files changed, 1 insertions, 10 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 0750dc19469..f9fc71e51bf 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -3244,6 +3244,4 @@ _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 590e43f00fb..0b56653395a 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -325,7 +325,5 @@ _eglInitDriver(_EGLDriver *driver)
driver->API.SwapBuffers = haiku_swap_buffers;
- driver->Name = "Haiku";
-
TRACE("API Calls defined\n");
}
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 38fc9311cb8..36d69688146 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -615,8 +615,7 @@ eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
_eglCreateExtensionsString(disp);
_eglCreateAPIsString(disp);
snprintf(disp->VersionString, sizeof(disp->VersionString),
- "%d.%d (%s)", disp->Version / 10, disp->Version % 10,
- disp->Driver->Name);
+ "%d.%d", disp->Version / 10, disp->Version % 10);
}
/* Update applications version of major and minor if not NULL */
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 003f74ed63d..33f8f57aeb1 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -95,8 +95,6 @@ _eglMatchDriver(_EGLDisplay *dpy)
}
if (best_drv) {
- _eglLog(_EGL_DEBUG, "the best driver is %s",
- best_drv->Name);
dpy->Driver = best_drv;
dpy->Initialized = EGL_TRUE;
}
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index ba12a060cab..5695fc06ffb 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -75,8 +75,6 @@ extern "C" {
*/
struct _egl_driver
{
- const char *Name; /**< name of this driver */
-
_EGLAPI API; /**< EGL API dispatch table */
};