mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
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:
parent
4c66f529a8
commit
fc9b119013
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue