Re: [Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y [v2]

2017-06-26 Thread Emil Velikov
On 22 June 2017 at 20:14, Ben Crocker wrote: > In swrastGetDrawableInfo, set *x and *y, not just *w and *h; > this fixes a crash later in drisw_update_tex_buffer when the > (formerly) uninitialized x and y values are used to construct > an address in a call to llvmpipe_transfer_map. > > Fixes cras

[Mesa-dev] [PATCH] egl_dri2: swrastGetDrawableInfo: set *x, *y [v2]

2017-06-22 Thread Ben Crocker
In swrastGetDrawableInfo, set *x and *y, not just *w and *h; this fixes a crash later in drisw_update_tex_buffer when the (formerly) uninitialized x and y values are used to construct an address in a call to llvmpipe_transfer_map. Fixes crash in Piglit test "spec@egl 1.4@eglcreatepbuffersurface an