mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
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>
(cherry picked from commit d23c7455ae)
This commit is contained in:
parent
54cfc3fd3a
commit
9548c93768
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ update_depth_stencil_alpha(struct st_context *st)
|
|||
const struct st_tracked_state st_update_depth_stencil_alpha = {
|
||||
"st_update_depth_stencil", /* name */
|
||||
{ /* dirty */
|
||||
(_NEW_DEPTH|_NEW_STENCIL|_NEW_COLOR), /* mesa */
|
||||
(_NEW_DEPTH|_NEW_STENCIL|_NEW_COLOR|_NEW_BUFFERS),/* mesa */
|
||||
0, /* st */
|
||||
},
|
||||
update_depth_stencil_alpha /* update */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue