diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-02-12 01:57:43 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-02-12 01:57:43 +0000 |
commit | d2f0be152e3eeb88639f44c13adfb4a23688a23b (patch) | |
tree | 121ac9121b5c7c375111c307531abe0b5c6c5b36 /src/mesa/drivers/dri/mach64/mach64_native_vb.c | |
parent | 0d4393a38a2237bb65fbd38b8da73ac328a967d0 (diff) |
more updates , gears sorta works
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_native_vb.c')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_native_vb.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_native_vb.c b/src/mesa/drivers/dri/mach64/mach64_native_vb.c index e4d97ad5c5..0bf9afacbf 100644 --- a/src/mesa/drivers/dri/mach64/mach64_native_vb.c +++ b/src/mesa/drivers/dri/mach64/mach64_native_vb.c @@ -184,35 +184,6 @@ void TAG(print_vertex)( GLcontext *ctx, const VERTEX *v ) fprintf(stderr, "\n"); } -static void do_import( struct vertex_buffer *VB, - struct gl_client_array *to, - struct gl_client_array *from ) -{ - GLuint count = VB->Count; - - if (!to->Ptr) { - to->Ptr = ALIGN_MALLOC( VB->Size * 4 * sizeof(GLubyte), 32 ); - to->Type = GL_UNSIGNED_BYTE; - } - - /* No need to transform the same value 3000 times. - */ - if (!from->StrideB) { - to->StrideB = 0; - count = 1; - } - else - to->StrideB = 4 * sizeof(GLubyte); - - _math_trans_4ub( (GLubyte (*)[4]) to->Ptr, - from->Ptr, - from->StrideB, - from->Type, - from->Size, - 0, - count); -} - /* Interpolate the elements of the VB not included in typical hardware * vertices. * |