summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/haiku
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-06-11 11:24:17 +0100
committerEmil Velikov <[email protected]>2015-06-12 15:17:12 +0100
commitc3036f4bb1c4ad788200afc877d42e63b64f330e (patch)
tree32c2858e8cf3b89fb7997001ae1e4f83dfec7874 /src/egl/drivers/haiku
parent0dde821bcc96c579ac1f26e26fc03ca117caa377 (diff)
egl/haiku: use correct version variable
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 <[email protected]>> Cc: Alexander von Gluck IV <[email protected]> Acked-by: Brian Paul <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers/haiku')
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index 4d9888ded2b..b347eb65283 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;