From: Eric Engestrom Date: Tue, 14 Feb 2017 22:21:47 +0000 (+0000) Subject: egl: remove duplicate 0 assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc9b1190134f2596ed84dad1d4aa286bc6e39142;p=mesa.git egl: remove duplicate 0 assignment The memset on the line before already takes care of this. Reviewed-by: Tapani Pälli Signed-off-by: Eric Engestrom --- diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index 818b5975cd2..d062cbfe014 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -46,9 +46,6 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, (void) dpy; memset(attrs, 0, sizeof(*attrs)); - attrs->ImagePreserved = EGL_FALSE; - attrs->GLTextureLevel = 0; - attrs->GLTextureZOffset = 0; if (!attrib_list) return err;