From 7f7b205259b228f81442f89e8318829737b08db6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 8 Sep 2000 21:44:55 +0000 Subject: removed ctx->Driver.Dither function --- src/mesa/main/dd.h | 9 +-------- src/mesa/main/state.c | 5 +---- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 66a740d4ec..68982004a2 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,4 +1,4 @@ -/* $Id: dd.h,v 1.30 2000/09/07 15:45:27 brianp Exp $ */ +/* $Id: dd.h,v 1.31 2000/09/08 21:44:55 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -336,13 +336,6 @@ struct dd_function_table { * This is called whenever glFlush() is called. */ - void (*Dither)( GLcontext *ctx, GLboolean enable ); - /* - * Enable/disable dithering. - * NOTE: This function will be removed in the future in favor - * of the "Enable" driver function. - */ - void (*Error)( GLcontext *ctx ); /* * Called whenever an error is generated. ctx->ErrorValue contains diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index e9f68398a4..9d95264cbe 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1,4 +1,4 @@ -/* $Id: state.c,v 1.25 2000/09/08 21:28:04 brianp Exp $ */ +/* $Id: state.c,v 1.26 2000/09/08 21:44:55 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -885,9 +885,6 @@ void gl_update_state( GLcontext *ctx ) if (ctx->NewState & (NEW_RASTER_OPS | NEW_TEXTURE_ENABLE)) { update_fog_mode(ctx); update_rasterflags(ctx); - if (ctx->Driver.Dither) { - (*ctx->Driver.Dither)( ctx, ctx->Color.DitherFlag ); - } /* update scissor region */ ctx->DrawBuffer->Xmin = 0; -- cgit v1.2.3