st: when creating an on-demand front color buffer, init to back buffer image
authorBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 18:48:46 +0000 (12:48 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 18:54:16 +0000 (12:54 -0600)
commit3f52a853f795d7432b181de81da6f0c4cf1cc202
tree8832459a3092c2423d86c1cc3098e0422a46768f
parentb85b315ebbe25efbd118887bdc87a562d4334fcc
st: when creating an on-demand front color buffer, init to back buffer image

When we create a new front color buffer (user called glDrawBuffer(GL_FRONT))
initialize it to the contents of the back buffer.  Any previous call to
SwapBuffers() would have done that in effect, so make it reality.
src/mesa/state_tracker/st_cb_fbo.c