From b79c47e90ce421426e4608c85461148f3962f9a0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 31 May 2005 04:13:45 +0000 Subject: [PATCH] Remove unused CTX_ARG2 define. --- src/mesa/drivers/dri/r200/r200_swtcl.c | 1 - src/mesa/drivers/dri/radeon/radeon_swtcl.c | 1 - src/mesa/drivers/dri/sis/sis_tris.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 1332ea3d7f8..4dad6c1271b 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -369,7 +369,6 @@ static void r200ResetLineStipple( GLcontext *ctx ); #undef LOCAL_VARS #undef ALLOC_VERTS #define CTX_ARG r200ContextPtr rmesa -#define CTX_ARG2 rmesa #define GET_VERTEX_DWORDS() rmesa->swtcl.vertex_size #define ALLOC_VERTS( n, size ) r200AllocDmaLowVerts( rmesa, n, size * 4 ) #define LOCAL_VARS \ diff --git a/src/mesa/drivers/dri/radeon/radeon_swtcl.c b/src/mesa/drivers/dri/radeon/radeon_swtcl.c index 57c39714d49..791b5e50fe9 100644 --- a/src/mesa/drivers/dri/radeon/radeon_swtcl.c +++ b/src/mesa/drivers/dri/radeon/radeon_swtcl.c @@ -579,7 +579,6 @@ static void radeonResetLineStipple( GLcontext *ctx ); #undef LOCAL_VARS #undef ALLOC_VERTS #define CTX_ARG radeonContextPtr rmesa -#define CTX_ARG2 rmesa #define GET_VERTEX_DWORDS() rmesa->swtcl.vertex_size #define ALLOC_VERTS( n, size ) radeonAllocDmaLowVerts( rmesa, n, (size) * 4 ) #undef LOCAL_VARS diff --git a/src/mesa/drivers/dri/sis/sis_tris.c b/src/mesa/drivers/dri/sis/sis_tris.c index 3af70cf6532..fb0fd1ac099 100644 --- a/src/mesa/drivers/dri/sis/sis_tris.c +++ b/src/mesa/drivers/dri/sis/sis_tris.c @@ -98,7 +98,6 @@ static void sisRenderPrimitive( GLcontext *ctx, GLenum prim ); #define HAVE_LINES 1 #define HAVE_POINTS 1 #define CTX_ARG sisContextPtr smesa -#define CTX_ARG2 smesa #define GET_VERTEX_DWORDS() smesa->vertex_size #define ALLOC_VERTS( n, size ) sisAllocDmaLow( smesa, n * size * sizeof(int) ) #undef LOCAL_VARS -- 2.30.2