[Mesa-dev] [PATCH 01/10] egl/haiku: use correct version variable
Emil Velikov
emil.l.velikov at gmail.com
Thu Jun 11 05:18:37 PDT 2015
Forgot to mention:
The series is untested, although it should not have any negative
effects. Everyone familiar with Haiku is welcome to test it. Afaict
the current implementation is a simple wrapper around BGLView and
looks rather incomplete - patches with implementation and/or comments
on the missing parts are welcome :-)
-Emil
On 11 June 2015 at 13:15, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Earlier commitfolded the two separate variables into one, but forgot to
> update the haiku driver.
>
> Fixes: 0e4b564ef28(egl: combine VersionMajor and VersionMinor into one
> variable)
> Cc: Marek Olšák <marek.olsak at amd.com>>
> Cc: Alexander von Gluck IV <kallisti5 at unixzen.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/egl/drivers/haiku/egl_haiku.cpp | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
> index 4d9888d..b347eb6 100644
> --- a/src/egl/drivers/haiku/egl_haiku.cpp
> +++ b/src/egl/drivers/haiku/egl_haiku.cpp
> @@ -304,8 +304,7 @@ init_haiku(_EGLDriver *drv, _EGLDisplay *dpy)
> _eglLog(_EGL_DEBUG,"Add configs");
> haiku_add_configs_for_visuals(dpy);
>
> - dpy->VersionMajor=1;
> - dpy->VersionMinor=4;
> + dpy->Version = 14;
>
> //dpy->Extensions.KHR_create_context = true;
>
> --
> 2.4.2
>
More information about the mesa-dev
mailing list