nouveau: Add clear color for nv10
authorPatrice Mandin <patrice@manoir.racoon.city>
Sat, 13 Jan 2007 12:56:18 +0000 (13:56 +0100)
committerPatrice Mandin <patrice@manoir.racoon.city>
Sat, 13 Jan 2007 12:56:18 +0000 (13:56 +0100)
src/mesa/drivers/dri/nouveau/nouveau_context.h

index 134e2a417e34946586c6333777b71ad1d40af1f0..c7bf387210c648daf5af15f6f9aff1ce9cae7fbb 100644 (file)
@@ -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 */