aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-01-26 01:28:00 +0000
committerBrian Paul <[email protected]>2006-01-26 01:28:00 +0000
commit2219a15b06ba1f72d74b79047e52840d167f03b7 (patch)
treefea789c5e3db12104a2cab401a38e3fa622c48d5 /src/mesa
parent74235b1cf12266a80cec9533d670d77ab9e808a5 (diff)
remove unneeded init of swrast->invalidate_line/triangle
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 902dee5bf16..f4ab09c51a4 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -580,21 +580,6 @@ osmesa_choose_line( GLcontext *ctx )
}
-#define OSMESA_NEW_LINE (_NEW_LINE | \
- _NEW_TEXTURE | \
- _NEW_LIGHT | \
- _NEW_DEPTH | \
- _NEW_RENDERMODE | \
- _SWRAST_NEW_RASTERMASK)
-
-#define OSMESA_NEW_TRIANGLE (_NEW_POLYGON | \
- _NEW_TEXTURE | \
- _NEW_LIGHT | \
- _NEW_DEPTH | \
- _NEW_RENDERMODE | \
- _SWRAST_NEW_RASTERMASK)
-
-
/**
* Don't use _mesa_delete_renderbuffer since we can't free rb->Data.
*/
@@ -941,8 +926,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
swrast = SWRAST_CONTEXT( ctx );
swrast->choose_line = osmesa_choose_line;
swrast->choose_triangle = osmesa_choose_triangle;
- swrast->invalidate_line |= OSMESA_NEW_LINE;
- swrast->invalidate_triangle |= OSMESA_NEW_TRIANGLE;
}
}
return osmesa;