I'd prefer _mesa_lookup...(...) != NULL, but either way:
Reviewed-by: Marek Olšák
Marek
On Wed, Mar 1, 2017 at 10:53 PM, Samuel Pitoiset
wrote:
> _mesa_lookup_samplerobj() returns NULL if sampler is 0.
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/mesa/main/samplerobj.c | 8 +---
> 1 fi
_mesa_lookup_samplerobj() returns NULL if sampler is 0.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/samplerobj.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c
index 8a0835a23d..a86e1d62d8 100644
--- a/src/m