mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)
This commit is contained in:
parent
2dd27cfdd9
commit
4338f0f709
1 changed files with 5 additions and 1 deletions
|
|
@ -84,10 +84,14 @@ update_framebuffer_state( struct st_context *st )
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Note that glDrawBuffer() sets _NEW_COLOR, not _NEW_BUFFER.
|
||||
*/
|
||||
|
||||
const struct st_tracked_state st_update_framebuffer = {
|
||||
.name = "st_update_framebuffer",
|
||||
.dirty = {
|
||||
.mesa = _NEW_BUFFERS,
|
||||
.mesa = (_NEW_BUFFERS | _NEW_COLOR),
|
||||
.st = 0,
|
||||
},
|
||||
.update = update_framebuffer_state
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue