summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglimage.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-02-14 22:21:47 +0000
committerEric Engestrom <[email protected]>2017-02-15 08:57:05 +0000
commitfc9b1190134f2596ed84dad1d4aa286bc6e39142 (patch)
tree881cf78f9400d59e99d91e73ffd9a3f6c61a418d /src/egl/main/eglimage.c
parent4c66f529a8ea4cc7589c1e3760894793c666e9b2 (diff)
egl: remove duplicate 0 assignment
The memset on the line before already takes care of this. Reviewed-by: Tapani Pälli <[email protected]> Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/main/eglimage.c')
-rw-r--r--src/egl/main/eglimage.c3
1 files changed, 0 insertions, 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;