Module: Mesa
Branch: master
Commit: fc9b1190134f2596ed84dad1d4aa286bc6e39142
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc9b1190134f2596ed84dad1d4aa286bc6e39142

Author: Eric Engestrom <eric.engest...@imgtec.com>
Date:   Tue Feb 14 22:21:47 2017 +0000

egl: remove duplicate 0 assignment

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

Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>
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 818b597..d062cbf 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to