Hi all,
was just cleaning up our compiz package here, stumbled over an x86_64
patch, and cleaned it up a bit.
This is against Mesa 6.5.2, but as this patch lingered around since
6.4.1 (or even longer) I assume it still applies to git.
Could someone please check whether this is actually reasonable and could
help making Mesa more 64bit clean?
Thanks
Matthias
--
Matthias Hopf <[EMAIL PROTECTED]> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ [EMAIL PROTECTED]
Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de
diff -urp ../Mesa-6.5.2.orig/src/glx/x11/indirect_vertex_array.c ./src/glx/x11/indirect_vertex_array.c
--- ../Mesa-6.5.2.orig/src/glx/x11/indirect_vertex_array.c 2006-11-03 00:58:52.000000000 +0100
+++ ./src/glx/x11/indirect_vertex_array.c 2007-01-04 12:10:11.000000000 +0100
@@ -527,7 +527,7 @@ static GLubyte *
emit_DrawArrays_header_old( __GLXcontext * gc,
struct array_state_vector * arrays,
size_t * elements_per_request,
- unsigned int * total_requests,
+ size_t * total_requests,
GLenum mode, GLsizei count )
{
size_t command_size;
@@ -640,7 +640,7 @@ emit_DrawArrays_old( GLenum mode, GLint
GLubyte * pc;
size_t elements_per_request;
- unsigned total_requests = 0;
+ size_t total_requests = 0;
unsigned i;
size_t total_sent = 0;
@@ -770,7 +770,7 @@ emit_DrawElements_old( GLenum mode, GLsi
GLubyte * pc;
size_t elements_per_request;
- unsigned total_requests = 0;
+ size_t total_requests = 0;
unsigned i;
unsigned req;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev