summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-26 06:10:06 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-06 19:44:58 +0200
commiteb2a1521cfa1e56f462f035f482e7a99c18a4b5f (patch)
tree11036336130d100eb6d89c85e0ac5b0c4ca1f181 /src/gallium/drivers/r300/r300_emit.c
parent31a74a6df77daea9084c34b86f217f23a55e6b91 (diff)
r300g: workaround index bias on chipsets that do not support it
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 55c6ce5030..c329c0f30f 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -815,7 +815,7 @@ void r300_emit_textures_state(struct r300_context *r300,
END_CS;
}
-void r300_emit_aos(struct r300_context* r300, unsigned offset, boolean indexed)
+void r300_emit_aos(struct r300_context* r300, int offset, boolean indexed)
{
struct pipe_vertex_buffer *vb1, *vb2, *vbuf = r300->vertex_buffer;
struct pipe_vertex_element *velem = r300->velems->velem;