softpipe: map only once in softpipe_map_surfaces
authorJerome Glisse <glisse@freedesktop.org>
Thu, 10 Jan 2008 00:11:53 +0000 (01:11 +0100)
committerJohn Doe <glisse@freedesktop.org>
Thu, 10 Jan 2008 00:14:07 +0000 (01:14 +0100)
commit934468296c33a04125e42e5d0f8747f65405a393
treebc73e0305a77a23d2f1be591ba78f78e7494b40f
parent1c5f27a18b775b3784fcd265d60e0affa0b31581
softpipe: map only once in softpipe_map_surfaces

softpipe_map_surfaces get call several time but softpipe_unmap_surfaces
get call only once. So to make sure stuff are properly unmap when
softpipe_unmap_surfaces get call we map surfaces only one time in
softpipe_map_surfaces.
src/mesa/pipe/softpipe/sp_context.c