diff options
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/eglimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index d5deae7595d..1174d0aef1f 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -45,7 +45,7 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, (void) dpy; - memset(attrs, 0, sizeof(attrs)); + memset(attrs, 0, sizeof(*attrs)); attrs->ImagePreserved = EGL_FALSE; attrs->GLTextureLevel = 0; attrs->GLTextureZOffset = 0; |