[Mesa-dev] [PATCH 01/10] egl/haiku: use correct version variable

Emil Velikov emil.l.velikov at gmail.com
Thu Jun 11 05:15:06 PDT 2015


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