diff options
Diffstat (limited to 'src/egl/main/eglimage.c')
-rw-r--r-- | src/egl/main/eglimage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index 5b27df0267d..e7a293b3743 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -44,11 +44,12 @@ _eglParseImageAttribList(_EGLImage *img, const EGLint *attrib_list) EGLBoolean -_eglInitImage(_EGLDriver *drv, _EGLImage *img, const EGLint *attrib_list) +_eglInitImage(_EGLImage *img, _EGLDisplay *dpy, const EGLint *attrib_list) { EGLint err; memset(img, 0, sizeof(_EGLImage)); + img->Resource.Display = dpy; img->Preserved = EGL_FALSE; |