egl: remove duplicate 0 assignment
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 14 Feb 2017 22:21:47 +0000 (22:21 +0000)
committerEric Engestrom <eric@engestrom.ch>
Wed, 15 Feb 2017 08:57:05 +0000 (08:57 +0000)
The memset on the line before already takes care of this.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/main/eglimage.c

index 818b5975cd29a81ea7049f991ff23ed53bdf830c..d062cbfe014cf8eeeb3f04b00c6c3521c373cd8f 100644 (file)
@@ -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;