Hi
The attached patch corrects a type mismatch on systems where unsigned
int and size_t differ, i.e. on 64-bit systems. This fixes compiz for me
on my x86_64 system. The patch should probably be applied to both, HEAD
and mesa_6_4_branch.
Regards,
Jürg
--
Jürg Billeter <[EMAIL PROTECTED]>
Index: src/glx/x11/indirect_vertex_array.c
===================================================================
RCS file: /cvs/mesa/Mesa/src/glx/x11/indirect_vertex_array.c,v
retrieving revision 1.6
diff -p -u -r1.6 indirect_vertex_array.c
--- src/glx/x11/indirect_vertex_array.c 19 Aug 2005 18:53:26 -0000 1.6
+++ src/glx/x11/indirect_vertex_array.c 13 Feb 2006 12:56:24 -0000
@@ -530,7 +530,7 @@ static GLubyte *
emit_DrawArrays_header_old( __GLXcontext * gc,
struct array_state_vector * arrays,
size_t * elements_per_request,
- size_t * total_requests,
+ unsigned * total_requests,
GLenum mode, GLsizei count )
{
size_t command_size;