egl/haiku: Fix reference to disp vs dpy

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes: 00992700c9 "egl: set the EGLDevice when creating a display"
This commit is contained in:
Alexander von Gluck IV 2018-12-27 20:41:47 +00:00 committed by Eric Engestrom
parent ec79069856
commit 1b97a72328
1 changed files with 2 additions and 1 deletions

View File

@ -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))