st/mesa: fix handling the fallback texture
authorMiklós Máté <mtmkls@gmail.com>
Thu, 24 Mar 2016 00:13:00 +0000 (01:13 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Mar 2016 17:58:33 +0000 (19:58 +0200)
commitbaab345b192d207236253ce67b320fb32fa67625
tree94c833790bbe212a49c2dceac38952b44ffaf41e
parent920fbecf57bc8e81db029a52f6ef1c9344d8ddab
st/mesa: fix handling the fallback texture

This fixes crash when post-processing is enabled in SW:KotOR.

v2: fix const-ness
v3: move assignment into the if() block

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_sampler.c