From b67695d59731c213941c609c0464bc0586e499ef Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 29 Jul 2020 16:57:33 +0200 Subject: [PATCH] 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 Reviewed-by: Frank Binns Part-of: --- 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; -- 2.30.2