egl/haiku: drop overwritten preset of EGL version
authorEric Engestrom <eric@engestrom.ch>
Wed, 29 Jul 2020 14:57:33 +0000 (16:57 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Aug 2020 17:31:33 +0000 (17:31 +0000)
commitb67695d59731c213941c609c0464bc0586e499ef
tree73691941a8928b0986611870607dbd80dd4f720c
parent9c6fa9421d57394600fbeade7a2ceb3e264bd108
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>
src/egl/drivers/haiku/egl_haiku.cpp