From 050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 22 Mar 2005 14:25:55 +0000 Subject: merge unichrome changes from branch --- src/mesa/drivers/dri/unichrome/via_render.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/unichrome/via_render.c') diff --git a/src/mesa/drivers/dri/unichrome/via_render.c b/src/mesa/drivers/dri/unichrome/via_render.c index fc4c9e09f7..201235410d 100644 --- a/src/mesa/drivers/dri/unichrome/via_render.c +++ b/src/mesa/drivers/dri/unichrome/via_render.c @@ -59,7 +59,7 @@ #define HAVE_ELTS 0 -#define LOCAL_VARS viaContextPtr vmesa = VIA_CONTEXT(ctx) +#define LOCAL_VARS struct via_context *vmesa = VIA_CONTEXT(ctx) #define INIT(prim) do { \ viaRasterPrimitive(ctx, prim, prim); \ } while (0) @@ -88,7 +88,7 @@ static GLboolean via_run_fastrender(GLcontext *ctx, struct tnl_pipeline_stage *stage) { - viaContextPtr vmesa = VIA_CONTEXT(ctx); + struct via_context *vmesa = VIA_CONTEXT(ctx); TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; GLuint i; @@ -119,7 +119,8 @@ static GLboolean via_run_fastrender(GLcontext *ctx, } -static void via_check_fastrender(GLcontext *ctx, struct tnl_pipeline_stage *stage) +static void via_check_fastrender(GLcontext *ctx, + struct tnl_pipeline_stage *stage) { stage->inputs = TNL_CONTEXT(ctx)->render_inputs; } -- cgit v1.2.3