From df5e2b934bc18cd17ac512e6746df64019014a7d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 Jun 2005 22:09:27 +0000 Subject: [PATCH] set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that --- src/mesa/main/config.h | 2 +- src/mesa/main/mtypes.h | 2 +- src/mesa/swrast/s_span.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 456f8ce76a9..476ed63aadc 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -324,7 +324,7 @@ /* XXX these are temporary */ #define NEW_RENDERBUFFER 1 -#define OLD_RENDERBUFFER 1 +#define OLD_RENDERBUFFER 0 #endif /* CONFIG_H */ diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index f6732699b77..62a8c76aa14 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2183,7 +2183,7 @@ struct gl_framebuffer struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS][4]; struct gl_renderbuffer *_ColorReadBuffer; -#if OLD_RENDERBUFFER +#if OLD_RENDERBUFFER || NEW_RENDERBUFFER /* XXX THIS IS TEMPORARY */ GLuint _ColorDrawBit[MAX_DRAW_BUFFERS][4]; #endif diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index bc207af64a9..bb16a8938b6 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -987,7 +987,7 @@ _swrast_write_index_span( GLcontext *ctx, struct sw_span *span) } } -#if OLD_RENDERBUFFER +#if OLD_RENDERBUFFER || NEW_RENDERBUFFER /* restore default dest buffer */ _swrast_use_draw_buffer(ctx); #endif -- 2.30.2