set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing...
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Jun 2005 22:09:27 +0000 (22:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 4 Jun 2005 22:09:27 +0000 (22:09 +0000)
src/mesa/main/config.h
src/mesa/main/mtypes.h
src/mesa/swrast/s_span.c

index 456f8ce76a9155b4a6235f8652e0111dd4130165..476ed63aadcbc40c19afe50a7d207999b983bdd8 100644 (file)
 
 /* XXX these are temporary */
 #define NEW_RENDERBUFFER 1
-#define OLD_RENDERBUFFER 1
+#define OLD_RENDERBUFFER 0
 
 
 #endif /* CONFIG_H */
index f6732699b77c5790af8eb800affc3c9d1f1735f4..62a8c76aa1478d1b8656b43061e644d9af2e3491 100644 (file)
@@ -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
index bc207af64a9a2091404a8316127dbe3c71eb2eaa..bb16a8938b65d6d651ae47e201576e20edfea21d 100644 (file)
@@ -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