From: Patrice Mandin Date: Sat, 13 Jan 2007 12:56:18 +0000 (+0100) Subject: nouveau: Add clear color for nv10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=308ef2dc3208e9c274763726b541f28e2169324b;p=mesa.git nouveau: Add clear color for nv10 --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.h b/src/mesa/drivers/dri/nouveau/nouveau_context.h index 134e2a417e3..c7bf387210c 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 */