egl: remove duplicate 0 assignment
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>
This commit is contained in:
committed by
Eric Engestrom
parent
4c66f529a8
commit
fc9b119013
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user