diff options
-rw-r--r-- | src/mesa/state_tracker/st_atom_framebuffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c index d07fd2517a..c07ed2944a 100644 --- a/src/mesa/state_tracker/st_atom_framebuffer.c +++ b/src/mesa/state_tracker/st_atom_framebuffer.c @@ -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 } |