gallium: fix a fbo crash

don't dirty the fb if we're rebining the frontbuffer
This commit is contained in:
Zack Rusin 2008-09-21 00:20:38 -04:00
parent 3a40dee3eb
commit 90f1677fe6

View file

@ -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
}