[Mesa-dev] [PATCH mesa] egl: remove duplicate 0 assignment
Eric Engestrom
eric at engestrom.ch
Tue Feb 14 22:21:47 UTC 2017
From: Eric Engestrom <eric.engestrom at imgtec.com>
The memset on the line before already takes care of this.
Signed-off-by: Eric Engestrom <eric.engestrom at 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
More information about the mesa-dev
mailing list