radeon: Fix variable initialization typo.

Fixes Coverity uninitialized scalar variable defect.
This commit is contained in:
Vinson Lee 2011-11-03 00:48:53 -07:00
parent 8fad0f9998
commit 492d223590
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void radeonRecalcScissorRects(radeonContextPtr radeon)
bounds.x1 = 0;
bounds.y1 = 0;
bounds.x2 = ctx->DrawBuffer->Width;
bounds.x2 = ctx->DrawBuffer->Height;
bounds.y2 = ctx->DrawBuffer->Height;
if (!radeon->state.scissor.numAllocedClipRects) {
radeon->state.scissor.numAllocedClipRects = 1;