r300g: fix context destroy under hyperz
authorDave Airlie <airlied@redhat.com>
Tue, 17 Aug 2010 09:01:18 +0000 (19:01 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Aug 2010 09:01:18 +0000 (19:01 +1000)
commit1c2a44e445fa4d3bd6f95d9c63041c222268724a
tree32ee630ec3e23c512c1535efa69c744515f73cc7
parent462e8a8b0d0836c2c2e3b4bf137ecd17db7292d2
r300g: fix context destroy under hyperz

we were destroying the mm before unrefing all the objects, so segfault.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_context.c