summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-24 05:44:01 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:28 -0800
commit188f61d43ae82c63d557d25282e349926321e3d0 (patch)
tree37dc74d16b60eb81e3686011ebc708562a9246eb /src/gallium/drivers/r300/r300_context.c
parent57b062f77551f0111fd210a2d8dd44be6acfc818 (diff)
r300: Hook up clear, set it to fallback.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 314b2f0a11b..e63e1278bf7 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -47,6 +47,8 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
r300->context.destroy = r300_destroy_context;
+ r300->context.clear = r300_clear;
+
r300->draw = draw_create();
r300->blend_color_state = CALLOC_STRUCT(r300_blend_color_state);