summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_clear.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-21 20:26:19 +0100
committerKeith Whitwell <[email protected]>2008-04-21 20:52:54 +0100
commit01dfa6cde157321f565bab949f23f367ed20fa0e (patch)
treeccf9940c101179565a5efe64d552771007370ae3 /src/mesa/state_tracker/st_cb_clear.c
parent1dc5e56f3e48b629daa18c2d8631c96bda638eb6 (diff)
use cso fs/vs handle functions
Diffstat (limited to 'src/mesa/state_tracker/st_cb_clear.c')
-rw-r--r--src/mesa/state_tracker/st_cb_clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c
index bb27faad211..dac346a06c1 100644
--- a/src/mesa/state_tracker/st_cb_clear.c
+++ b/src/mesa/state_tracker/st_cb_clear.c
@@ -274,8 +274,8 @@ clear_with_quad(GLcontext *ctx,
cso_set_rasterizer(st->cso_context, &st->clear.raster);
cso_set_viewport(st->cso_context, &st->clear.viewport);
- cso_set_fragment_shader(st->cso_context, st->clear.fs);
- cso_set_vertex_shader(st->cso_context, st->clear.vs);
+ cso_set_fragment_shader_handle(st->cso_context, st->clear.fs);
+ cso_set_vertex_shader_handle(st->cso_context, st->clear.vs);
/* draw quad matching scissor rect (XXX verify coord round-off) */
draw_quad(ctx, x0, y0, x1, y1, ctx->Depth.Clear, ctx->Color.ClearColor);