diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-01 22:53:52 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-03-06 18:01:38 +0100 |
commit | 052c81faa1147ab758dc4430e4483c7d9fc5fe25 (patch) | |
tree | 0ac8ff94825f1a9605f1d7dee5853f3176602868 /src/compiler/glsl | |
parent | 5ae54c0cf7acfb792d2ca9b22cd5fb5ba811d32c (diff) |
mesa/main: remove useless check in _mesa_IsSampler()
_mesa_lookup_samplerobj() returns NULL if sampler is 0.
v2: use _mesa_lookup...(...) != NULL
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
0 files changed, 0 insertions, 0 deletions