From 5a9026c65d260dc185e072163999f5d810015108 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Nov 2000 21:01:25 +0000 Subject: Minor header file changes to silence warnings. Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions. --- src/mesa/drivers/glide/fxdd.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/mesa/drivers/glide') diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 178fa192ac..6dbbec4d59 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -121,22 +121,6 @@ static void fxDDBufferSize(GLcontext *ctx, GLuint *width, GLuint *height) } -/* Set current drawing color */ -static void fxDDSetColor(GLcontext *ctx, GLubyte red, GLubyte green, - GLubyte blue, GLubyte alpha ) -{ - fxMesaContext fxMesa=(fxMesaContext)ctx->DriverCtx; - GLubyte col[4]; - ASSIGN_4V( col, red, green, blue, alpha ); - - if (MESA_VERBOSE&VERBOSE_DRIVER) { - fprintf(stderr,"fxmesa: fxDDSetColor(%d,%d,%d,%d)\n",red,green,blue,alpha); - } - - fxMesa->color=FXCOLOR4(col); -} - - /* Implements glClearColor() */ static void fxDDClearColor(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) @@ -976,11 +960,6 @@ void fxSetupDDPointers(GLcontext *ctx) ctx->Driver.ClearColor=fxDDClearColor; ctx->Driver.Clear=fxDDClear; -#if 0 - ctx->Driver.Index=NULL; - ctx->Driver.Color=fxDDSetColor; -#endif - ctx->Driver.SetDrawBuffer=fxDDSetDrawBuffer; ctx->Driver.SetReadBuffer=fxDDSetReadBuffer; ctx->Driver.GetBufferSize=fxDDBufferSize; -- cgit v1.2.3