mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 15:50:37 +02:00
gallium: fix a fbo crash
don't dirty the fb if we're rebining the frontbuffer
This commit is contained in:
parent
3a40dee3eb
commit
90f1677fe6
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,9 @@ update_framebuffer_state( struct st_context *st )
|
|||
#if !defined(PIPE_OS_WINDOWS)
|
||||
#warning "fix me"
|
||||
#endif
|
||||
st->frontbuffer_status = FRONT_STATUS_DIRTY;
|
||||
if (fb->_ColorDrawBufferIndexes[0] == BUFFER_FRONT_LEFT) {
|
||||
st->frontbuffer_status = FRONT_STATUS_DIRTY;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue