egl/haiku: use correct version variable
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 Jun 2015 10:24:17 +0000 (11:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 12 Jun 2015 14:17:12 +0000 (15:17 +0100)
Earlier commit folded 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@amd.com>>
Cc: Alexander von Gluck IV <kallisti5@unixzen.com>
Acked-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/haiku/egl_haiku.cpp

index 4d9888ded2b2e390d9bf4cedf61b7f656f946c0c..b347eb652832af90565f27bf38bb04c53f86b901 100644 (file)
@@ -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;