Mesa (master): egl/haiku: drop overwritten preset of EGL version
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Aug 1 17:49:14 UTC 2020
Module: Mesa
Branch: master
Commit: b67695d59731c213941c609c0464bc0586e499ef
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b67695d59731c213941c609c0464bc0586e499ef
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jul 29 16:57:33 2020 +0200
egl/haiku: drop overwritten preset of EGL version
`init_haiku()` is called by `eglInitialize()`, which then calls
`_eglComputeVersion()` (without even anything in between). The latter
sets the EGL version based on the extensions supported, and since Haiku
doesn't support any it will end up overwriting the same `1.4` value.
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6131>
---
src/egl/drivers/haiku/egl_haiku.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index 48f0848629e..323907f86d4 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -221,8 +221,6 @@ init_haiku(const _EGLDriver *drv, _EGLDisplay *disp)
if (!haiku_add_configs_for_visuals(disp))
return EGL_FALSE;
- disp->Version = 14;
-
TRACE("Initialization finished\n");
return EGL_TRUE;
More information about the mesa-commit
mailing list