st/mesa: simplify conditionals in Clear
authorMarek Olšák <maraeo@gmail.com>
Mon, 14 Jan 2013 07:16:18 +0000 (08:16 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 15 Jan 2013 15:47:18 +0000 (16:47 +0100)
commitf94ea25a4ac9f65cfec880ea3cb9d6c50eda93d1
tree71c46740fab675833a7593504b95bb2dac3ceb6f
parent01b7124788f901838f491ed301138a3da55185f7
st/mesa: simplify conditionals in Clear

just check depth and stencil separately, the outcome is the same

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_clear.c