diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-29 08:21:54 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-29 08:21:54 -0600 |
commit | fbddc75aa2f6542117783b8024f9ebd2f0309e1f (patch) | |
tree | 9682fbc7cd213fbc17011498defe0007e22d2b46 /src/gallium/drivers/nv10/nv10_transfer.c | |
parent | 6829ef74607fa6af602fa1539b1f084a8c0d356c (diff) |
softpipe: Grab a ref when the fb is set.
Nasty bug when the surface is freed and another is allocated right on
top of it. The next time we set the fb state SP thinks it's the same
surface and doesn't flush, and when the flush eventually happens the
surface belongs to a completely different texture.
(cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec)
Conflicts:
src/gallium/drivers/softpipe/sp_context.c
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_transfer.c')
0 files changed, 0 insertions, 0 deletions