mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radeon: Fix variable initialization typo.
Fixes Coverity uninitialized scalar variable defect.
This commit is contained in:
parent
8fad0f9998
commit
492d223590
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue