On Thu, Apr 19, 2012 at 12:38 PM, Gwenole Beauchesne <[email protected]> wrote:
> Signed-off-by: Gwenole Beauchesne <[email protected]>
> ---
>  src/egl/main/eglimage.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c
> index 14760f2..a5132e0 100644
> --- a/src/egl/main/eglimage.c
> +++ b/src/egl/main/eglimage.c
> @@ -45,7 +45,7 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, 
> _EGLDisplay *dpy,
>
>    (void) dpy;
>
> -   memset(attrs, 0, sizeof(attrs));
> +   memset(attrs, 0, sizeof(*attrs));
>    attrs->ImagePreserved = EGL_FALSE;
>    attrs->GLTextureLevel = 0;
>    attrs->GLTextureZOffset = 0;
> --
> 1.7.5.4

This was fixed earlier this month.
http://cgit.freedesktop.org/mesa/mesa/commit/src/egl/main/eglimage.c?id=071501a68129768c6223beb24f7363d87c6684ea
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to