From: Eric Engestrom <eric.engest...@imgtec.com>

The memset on the line before already takes care of this.

Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com>
---
 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 818b5975cd..d062cbfe01 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;
-- 
Cheers,
  Eric
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to