gallium: add missing pipe_surface_unmap() call
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 17 Apr 2008 19:21:26 +0000 (13:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 17 Apr 2008 19:21:26 +0000 (13:21 -0600)
src/mesa/state_tracker/st_cb_accum.c

index 4f9a22161c2d38610a8301cb26b54d40ce13bcbb..1636bed91a5ccf7b1ec56c69e59c566795bc60eb 100644 (file)
@@ -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);
 }