projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8417854
)
r300g: Fix uninitialized variable warnings in error path.
author
Vinson Lee
<vlee@vmware.com>
Thu, 17 Jun 2010 00:56:00 +0000
(17:56 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 17 Jun 2010 00:56:00 +0000
(17:56 -0700)
src/gallium/drivers/r300/r300_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_emit.c
b/src/gallium/drivers/r300/r300_emit.c
index 251e1700565d7c9aafc6fe7fbd7b981a01d2aefe..4639bbbd9b86ce20e4b2537600622f13dcc5c3d1 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-512,6
+512,8
@@
void r300_emit_rs_state(struct r300_context* r300, unsigned size, void* state)
break;
default:
debug_printf("r300: Bad number of multisamples!\n");
+ mspos0 = 0;
+ mspos1 = 0;
break;
}