projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605ef19
)
draw: Prevent signed/unsigned comparisons.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 1 May 2014 14:41:43 +0000
(15:41 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 2 May 2014 21:04:46 +0000
(22:04 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_pt_so_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index
bd49d0a
..
91e67c0
100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt_so_emit.c
+++ b/
src/gallium/auxiliary/draw/draw_pt_so_emit.c
@@
-162,7
+162,7
@@
static void so_emit_prim(struct pt_so_emit *so,
for (i = 0; i < num_vertices; ++i) {
const float (*input)[4];
const float *pre_clip_pos = NULL;
-
int
ob;
+
unsigned
ob;
input = (const float (*)[4])(
(const char *)input_ptr + (indices[i] * input_vertex_stride));