summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-02-24 19:12:30 -0800
committerIan Romanick <[email protected]>2010-03-03 12:37:05 -0800
commitbb8c3b1bcc81fd5addc5e214f3efcfdca50c6806 (patch)
treee391c718596d7effa57fabead5e826f918a3198d /src/mesa/main/blend.c
parent5034e8ad42df60a7f61319ccd6c1a3dbf28e6699 (diff)
mesa: Remove ClearIndex and IndexMask from device-driver interface
These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r--src/mesa/main/blend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index de60031cc80..d022770f24c 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -456,9 +456,6 @@ _mesa_IndexMask( GLuint mask )
FLUSH_VERTICES(ctx, _NEW_COLOR);
ctx->Color.IndexMask = mask;
-
- if (ctx->Driver.IndexMask)
- ctx->Driver.IndexMask( ctx, mask );
}
#endif