From 2219a15b06ba1f72d74b79047e52840d167f03b7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 26 Jan 2006 01:28:00 +0000 Subject: [PATCH] remove unneeded init of swrast->invalidate_line/triangle --- src/mesa/drivers/osmesa/osmesa.c | 17 ----------------- 1 file changed, 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; -- 2.30.2