projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c66f52
)
egl: remove duplicate 0 assignment
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Tue, 14 Feb 2017 22:21:47 +0000
(22:21 +0000)
committer
Eric Engestrom
<eric@engestrom.ch>
Wed, 15 Feb 2017 08:57:05 +0000
(08:57 +0000)
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>
src/egl/main/eglimage.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglimage.c
b/src/egl/main/eglimage.c
index 818b5975cd29a81ea7049f991ff23ed53bdf830c..d062cbfe014cf8eeeb3f04b00c6c3521c373cd8f 100644
(file)
--- 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;