diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-07 15:45:26 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-07 15:45:26 +0000 |
commit | c4c639c9a46967678725370cb9824031a068633c (patch) | |
tree | f0008c2a00c6f5f65cc4800b87a560a39551b569 /src/mesa/drivers/windows/wmesa.c | |
parent | 18f73b622ffa1d1cebea5556b9ebe53a9adc31ac (diff) |
Removed ctx->Driver.LogicOp().
ctx->Driver.Index/ColorMask() now return void.
Removed SWmasking and SWLogicOpEnabled variables.
LogicOps and color/index masking are no longer special-case device
driver functions. The Xlib driver was the only driver that used
them. Things are more uniform now.
Diffstat (limited to 'src/mesa/drivers/windows/wmesa.c')
-rw-r--r-- | src/mesa/drivers/windows/wmesa.c | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 00f156a102..f0a1c84fe5 100644 --- a/src/mesa/drivers/windows/wmesa.c +++ b/src/mesa/drivers/windows/wmesa.c @@ -1,4 +1,4 @@ -/* $Id: wmesa.c,v 1.4 2000/08/02 20:29:03 brianp Exp $ */ +/* $Id: wmesa.c,v 1.5 2000/09/07 15:45:28 brianp Exp $ */ /* * File name : wmesa.c @@ -22,6 +22,14 @@ /* * $Log: wmesa.c,v $ + * Revision 1.5 2000/09/07 15:45:28 brianp + * Removed ctx->Driver.LogicOp(). + * ctx->Driver.Index/ColorMask() now return void. + * Removed SWmasking and SWLogicOpEnabled variables. + * LogicOps and color/index masking are no longer special-case device + * driver functions. The Xlib driver was the only driver that used + * them. Things are more uniform now. + * * Revision 1.4 2000/08/02 20:29:03 brianp * updates from mesa3d@billbaxter.com * @@ -562,27 +570,6 @@ static void set_color( GLcontext* ctx, GLubyte r, GLubyte g, GLubyte b, GLubyte } - -/* Set the index mode bitplane mask. */ -static GLboolean index_mask(GLcontext* ctx, GLuint mask) -{ - /* can't implement */ - return GL_FALSE; -} - - - -/* Set the RGBA drawing mask. */ -static GLboolean color_mask( GLcontext* ctx, - GLboolean rmask, GLboolean gmask, - GLboolean bmask, GLboolean amask) -{ - /* can't implement */ - return GL_FALSE; -} - - - static void dither( GLcontext* ctx, GLboolean enable ) { if (!Current) @@ -1177,8 +1164,6 @@ void setup_DD_pointers( GLcontext* ctx ) ctx->Driver.Index = set_index; ctx->Driver.Color = set_color; - ctx->Driver.IndexMask = index_mask; - ctx->Driver.ColorMask = color_mask; ctx->Driver.Dither = dither; |