Commit d69fd5d9 authored by José Fonseca's avatar José Fonseca

draw: Prevent signed/unsigned comparisons.

Reviewed-by: 's avatarBrian Paul <brianp@vmware.com>
Reviewed-by: 's avatarRoland Scheidegger <sroland@vmware.com>
parent 605ef195
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment