projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fad0f9
)
radeon: Fix variable initialization typo.
author
Vinson Lee
<vlee@vmware.com>
Thu, 3 Nov 2011 07:48:53 +0000
(
00:48
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 4 Nov 2011 03:34:02 +0000
(20:34 -0700)
Fixes Coverity uninitialized scalar variable defect.
src/mesa/drivers/dri/radeon/radeon_common.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_common.c
b/src/mesa/drivers/dri/radeon/radeon_common.c
index 2ef3fafee0805174354e25d0b5a093b8f63dae67..2b87f9631b760dca4a4f9c2c23e93fc3e61a2e3c 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_common.c
@@
-93,7
+93,7
@@
void radeonRecalcScissorRects(radeonContextPtr radeon)
bounds.x1 = 0;
bounds.y1 = 0;
bounds.x2 = ctx->DrawBuffer->Width;
- bounds.
x
2 = ctx->DrawBuffer->Height;
+ bounds.
y
2 = ctx->DrawBuffer->Height;
if (!radeon->state.scissor.numAllocedClipRects) {
radeon->state.scissor.numAllocedClipRects = 1;