OSDN Git Service

st/mesa: set st_context::...num_samplers to 0 when there are no samplers
authorMarek Olšák <marek.olsak@amd.com>
Wed, 14 Jun 2017 16:31:06 +0000 (18:31 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000 (01:51 +0200)
commit602a3e50e555197a10a0c1a1dda166fa8cf7053f
tree80bfdf738ae2a3c20062a74e2815f1a0d798f591
parentf368ea37a2cd79051abf3be46c6bb1444aa05244
st/mesa: set st_context::...num_samplers to 0 when there are no samplers

This was missed during my st/mesa series.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom_sampler.c