summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2020-07-29 16:57:33 +0200
committerMarge Bot <eric+marge@anholt.net>2020-08-01 17:31:33 +0000
commitb67695d59731c213941c609c0464bc0586e499ef (patch)
tree73691941a8928b0986611870607dbd80dd4f720c
parent9c6fa9421d57394600fbeade7a2ceb3e264bd108 (diff)
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@engestrom.ch> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6131>
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp2
1 files changed, 0 insertions, 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;