st/mesa: fix assert to be simpler
authorDave Airlie <airlied@redhat.com>
Tue, 20 Jun 2017 05:50:37 +0000 (15:50 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Jun 2017 22:59:18 +0000 (08:59 +1000)
commit72c8c684582095fffb45457ab6bcc73742a871c4
tree21682e245515a36a5528d13765281a9d1a65bbd3
parent030abc61091a38596427aa04022066719be9add5
st/mesa: fix assert to be simpler

I just noticed a warning with a non-debug build, but really
this could all be one line, and I'm not even 100% the assert
makes sense here.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_texture.c