summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2018-12-27 20:41:47 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-01-02 13:45:09 +0000
commit1b97a72328b7b549aa8d050495f504815444c0dd (patch)
treedc1ad04700ba49ca85b37b094fe0aca9459d5808
parentec79069856b05840630da3a2612fdb9ce1debb82 (diff)
egl/haiku: Fix reference to disp vs dpy
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Fixes: 00992700c9a812a54563 "egl: set the EGLDevice when creating a display"
-rw-r--r--src/egl/drivers/haiku/egl_haiku.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
index a9c5cf8d29b..d4b046c79b4 100644
--- a/src/egl/drivers/haiku/egl_haiku.cpp
+++ b/src/egl/drivers/haiku/egl_haiku.cpp
@@ -29,6 +29,7 @@
#include "eglconfig.h"
#include "eglcontext.h"
+#include "egldevice.h"
#include "egldisplay.h"
#include "egldriver.h"
#include "eglcurrent.h"
@@ -215,7 +216,7 @@ init_haiku(_EGLDriver *drv, _EGLDisplay *dpy)
_eglError(EGL_NOT_INITIALIZED, "DRI2: failed to find EGLDevice");
return EGL_FALSE;
}
- disp->Device = dev;
+ dpy->Device = dev;
TRACE("Add configs\n");
if (!haiku_add_configs_for_visuals(dpy))