st/mesa: depth-stencil-alpha state also depends on _NEW_BUFFERS
authorMarek Olšák <maraeo@gmail.com>
Mon, 15 Apr 2013 12:39:58 +0000 (14:39 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 24 Apr 2013 01:23:23 +0000 (03:23 +0200)
commitd23c7455ae218a522d4a03829a7a7cafa94f6e94
tree37e0172c21d3e0e22134092246bb77caf40f3110
parent2737abb44efebfa10ac84b183c20fc5818d1514e
st/mesa: depth-stencil-alpha state also depends on _NEW_BUFFERS

because the code looks at the visual if there is a depth or stencil buffer
before enabling depth or stencil, respectively.

NOTE: This is a candidate for the stable branches.

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