use cso fs/vs handle functions

This commit is contained in:
Keith Whitwell
2008-04-21 20:26:19 +01:00
parent 1dc5e56f3e
commit 01dfa6cde1
7 changed files with 14 additions and 14 deletions

View File

@@ -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);