summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-17 13:21:26 -0600
committerBrian Paul <[email protected]>2008-04-17 13:21:26 -0600
commit5af9a690b2afc4c8f0f1118dad891b5ab53db597 (patch)
tree43019b14de3e25f7c1dbbf1b4089183f6c3294df /src
parent211170c192dfac5c2b39a6f34056255712fdfed6 (diff)
gallium: add missing pipe_surface_unmap() call
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_accum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c
index 4f9a22161c2..1636bed91a5 100644
--- a/src/mesa/state_tracker/st_cb_accum.c
+++ b/src/mesa/state_tracker/st_cb_accum.c
@@ -173,6 +173,8 @@ accum_mad(GLcontext *ctx, GLfloat scale, GLfloat bias,
default:
_mesa_problem(NULL, "unexpected format in st_clear_accum_buffer()");
}
+
+ pipe_surface_unmap(acc_ps);
}