st: when double buffered, only create front color buffer on demand
authorBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 16:15:21 +0000 (10:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 16:19:00 +0000 (10:19 -0600)
commitcd6734288ddc15a778def9578e128184b3f6bdea
treead8744162b68930ef508a4d08f63a5ca82d08c88
parentb9196c1fa39dd566c5d7ab340e353b77714edb5f
st: when double buffered, only create front color buffer on demand

Before we always created the front color buffer, even if was never used.
This can save some memory.
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c