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.veli...@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.ol...@amd.com>> > Cc: Alexander von Gluck IV <kallis...@unixzen.com> > Signed-off-by: Emil Velikov <emil.l.veli...@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 > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev