st: if st_swapbuffers() is called for single-buffered visual don't crash
authorBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 22:44:04 +0000 (16:44 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 1 May 2009 22:44:04 +0000 (16:44 -0600)
commit602833b107cdf3d70117dbd0970c7d574fb55f3b
tree05452b4845ac756558b3819e77a474359f1d4ee2
parentb57b6c2d2c83aee96f945ce3385a1ab8337335cb
st: if st_swapbuffers() is called for single-buffered visual don't crash

Furthermore, return pointer(s) to the front color buffer(s).
src/mesa/state_tracker/st_framebuffer.c