From fc9b1190134f2596ed84dad1d4aa286bc6e39142 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 14 Feb 2017 22:21:47 +0000 Subject: [PATCH] egl: remove duplicate 0 assignment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The memset on the line before already takes care of this. Reviewed-by: Tapani Pälli Signed-off-by: Eric Engestrom --- src/egl/main/eglimage.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.30.2