Re: [Mesa-dev] [PATCH 01/16] i965/miptree: Set refcount before failing via _release()

2017-07-17 Thread Emil Velikov
On 17 July 2017 at 14:34, Topi Pohjolainen wrote: > Otherwise one wraps uint to UINT_MAX via -1. > > Signed-off-by: Topi Pohjolainen > --- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 ++- > 1 file changed, 2 insertions(+), 1

[Mesa-dev] [PATCH 01/16] i965/miptree: Set refcount before failing via _release()

2017-07-17 Thread Topi Pohjolainen
Otherwise one wraps uint to UINT_MAX via -1. Signed-off-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c