summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_clear.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-03-12 00:16:35 +0100
committerDaniel Vetter <[email protected]>2011-03-12 20:32:30 +0100
commitf6087955888ee089f986c19b576ef574c9e7bd06 (patch)
treee2f6ea68308c36b8bedaa09798e5ea6a3f73a260 /src/gallium/drivers/i915/i915_clear.c
parentd46c6084ce5b8c9d1d39aea0b391ea262a545343 (diff)
i915g: don't recalculate fb dimension
The statetracker should do this for us correctly. Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_clear.c')
-rw-r--r--src/gallium/drivers/i915/i915_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_clear.c b/src/gallium/drivers/i915/i915_clear.c
index d11361b675f..4a97746e981 100644
--- a/src/gallium/drivers/i915/i915_clear.c
+++ b/src/gallium/drivers/i915/i915_clear.c
@@ -144,5 +144,5 @@ i915_clear_render(struct pipe_context *pipe, unsigned buffers, const float *rgba
i915_update_derived(i915);
i915_clear_emit(pipe, buffers, rgba, depth, stencil,
- 0, 0, i915->current.fb_width, i915->current.fb_height);
+ 0, 0, i915->framebuffer.width, i915->framebuffer.height);
}