st/mesa: use a helper for st_framebuffer creation
authorChia-I Wu <olv@lunarg.com>
Wed, 22 Jun 2011 02:02:27 +0000 (11:02 +0900)
committerChia-I Wu <olv@lunarg.com>
Thu, 23 Jun 2011 01:36:00 +0000 (10:36 +0900)
commit7587c140cd0c28f6c500846a7311b435443f46fd
tree892de55f76a2a6f942a6e03e22970085cdc49a2d
parent1a339b6c71ebab6e1a64f05b2e133022d3bbcd15
st/mesa: use a helper for st_framebuffer creation

In st_api_make_current, we would like to reuse the exising
st_framebuffer if possible.  Use a helper function to make the code
clearer.
src/mesa/state_tracker/st_manager.c