From f6087955888ee089f986c19b576ef574c9e7bd06 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 12 Mar 2011 00:16:35 +0100 Subject: i915g: don't recalculate fb dimension The statetracker should do this for us correctly. Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/i915_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/i915/i915_clear.c') diff --git a/src/gallium/drivers/i915/i915_clear.c b/src/gallium/drivers/i915/i915_clear.c index d11361b675..4a97746e98 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); } -- cgit v1.2.3