Merge branch 'gallium-wgl-rework' into gallium-0.2
[mesa.git] / src / gallium / drivers / i915simple / i915_clear.c
index cde69daacc08ddd8447e21e7c7fbd8167accd8d3..8a2d3ca43f17f4286d116b2202d1539c7eeb7a12 100644 (file)
@@ -44,4 +44,5 @@ i915_clear(struct pipe_context *pipe, struct pipe_surface *ps,
           unsigned clearValue)
 {
    pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
+   ps->status = PIPE_SURFACE_STATUS_DEFINED;
 }