diff options
author | Brian Paul <[email protected]> | 2000-09-08 21:44:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-08 21:44:55 +0000 |
commit | 7f7b205259b228f81442f89e8318829737b08db6 (patch) | |
tree | 37fbd611954861ddf89bf7935e6bdaff8cb4d973 /src/mesa/main | |
parent | 48c6a6ecd2b94d73317f1579193d98101566217a (diff) |
removed ctx->Driver.Dither function
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dd.h | 9 | ||||
-rw-r--r-- | src/mesa/main/state.c | 5 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 66a740d4ec6..68982004a2a 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 e9f68398a49..9d95264cbec 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; |