summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2007-08-16 21:28:40 +0200
committerPatrice Mandin <pmandin@caramail.com>2007-08-16 21:28:40 +0200
commitfe789805801cbbc2c97847c159cfd470232cc1f4 (patch)
tree452562bf38a8ba93b81a493beae2a5da912e75f1 /src/mesa/drivers/dri/nouveau/nouveau_context.h
parentf5ed049655d214a8828d5ce68651741c3dff0c66 (diff)
downloadexternal_mesa3d-fe789805801cbbc2c97847c159cfd470232cc1f4.zip
external_mesa3d-fe789805801cbbc2c97847c159cfd470232cc1f4.tar.gz
external_mesa3d-fe789805801cbbc2c97847c159cfd470232cc1f4.tar.bz2
nouveau: store render buffer pointers in context, to access them when clearing buffer
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_context.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h
index dc904ad..65ecf21 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.h
@@ -123,6 +123,10 @@ typedef struct nouveau_context {
struct tnl_attr_map vertex_attrs[VERT_ATTRIB_MAX];
GLuint vertex_attr_count;
+ /* Color and depth renderbuffers */
+ nouveau_renderbuffer_t *color_buffer[2];
+ nouveau_renderbuffer_t *depth_buffer;
+
/* Color buffer clear value */
uint32_t clear_color_value;