projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbac58
)
svga: silence MSVC warning about negating an unsigned value
author
Brian Paul
<brianp@vmware.com>
Tue, 16 Oct 2012 23:54:37 +0000
(17:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 16 Oct 2012 23:55:39 +0000
(17:55 -0600)
src/gallium/drivers/svga/svga_state_vdecl.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_state_vdecl.c
b/src/gallium/drivers/svga/svga_state_vdecl.c
index 170d3f1b297fc73a10618e50d0961d5b2ba9684d..706d9959ca09de422ee6d27ed75af3b0c0d33282 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_vdecl.c
+++ b/
src/gallium/drivers/svga/svga_state_vdecl.c
@@
-127,7
+127,7
@@
emit_hw_vs_vdecl(struct svga_context *svga, unsigned dirty)
vb->buffer );
}
- svga_hwtnl_set_index_bias( svga->hwtnl, -neg_bias );
+ svga_hwtnl_set_index_bias( svga->hwtnl, -
(int)
neg_bias );
return PIPE_OK;
}