set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
This commit is contained in:
@@ -324,7 +324,7 @@
|
|||||||
|
|
||||||
/* XXX these are temporary */
|
/* XXX these are temporary */
|
||||||
#define NEW_RENDERBUFFER 1
|
#define NEW_RENDERBUFFER 1
|
||||||
#define OLD_RENDERBUFFER 1
|
#define OLD_RENDERBUFFER 0
|
||||||
|
|
||||||
|
|
||||||
#endif /* CONFIG_H */
|
#endif /* CONFIG_H */
|
||||||
|
@@ -2183,7 +2183,7 @@ struct gl_framebuffer
|
|||||||
struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS][4];
|
struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS][4];
|
||||||
struct gl_renderbuffer *_ColorReadBuffer;
|
struct gl_renderbuffer *_ColorReadBuffer;
|
||||||
|
|
||||||
#if OLD_RENDERBUFFER
|
#if OLD_RENDERBUFFER || NEW_RENDERBUFFER
|
||||||
/* XXX THIS IS TEMPORARY */
|
/* XXX THIS IS TEMPORARY */
|
||||||
GLuint _ColorDrawBit[MAX_DRAW_BUFFERS][4];
|
GLuint _ColorDrawBit[MAX_DRAW_BUFFERS][4];
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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 */
|
/* restore default dest buffer */
|
||||||
_swrast_use_draw_buffer(ctx);
|
_swrast_use_draw_buffer(ctx);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user