summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorPatrice Mandin <patrice@manoir.racoon.city>2007-01-13 13:56:18 +0100
committerPatrice Mandin <patrice@manoir.racoon.city>2007-01-13 13:56:18 +0100
commit308ef2dc3208e9c274763726b541f28e2169324b (patch)
tree0f46bdfca7e54d62be0b6432d076747c28d286c7 /src/mesa/drivers/dri
parentca75853f9d9e7d131f25daeaa7c646894ab4807e (diff)
nouveau: Add clear color for nv10
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h
index 134e2a417e..c7bf387210 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.h
@@ -119,7 +119,10 @@ typedef struct nouveau_context {
struct tnl_attr_map vertex_attrs[VERT_ATTRIB_MAX];
GLuint vertex_attr_count;
- /* Depth/stencil clear state */
+ /* Color buffer clear value */
+ uint32_t clear_color_value;
+
+ /* Depth/stencil clear value */
uint32_t clear_value;
/* Light state */