diff options
author | Brian <[email protected]> | 2008-03-27 15:42:52 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-27 15:43:32 -0600 |
commit | 6f8286163c79a8187c2912a9b673a6f11f4f60c6 (patch) | |
tree | c139eb3d5f2a4bda294df36fa9546f16171f5417 /src/mesa/state_tracker/st_cb_bitmap.c | |
parent | dccbfd8bf0624250a435948029916073d3390191 (diff) |
gallium: Update calls to the simple shader functions
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 0291b03143c..64b18824245 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -487,13 +487,15 @@ st_Bitmap(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const uint semantic_indexes[] = { 0, 0, 0 }; st->bitmap.vs = util_make_vertex_passthrough_shader(st->pipe, 3, semantic_names, - semantic_indexes); + semantic_indexes, + &st->bitmap.vert_shader); } st_validate_state(st); pt = make_bitmap_texture(ctx, width, height, unpack, bitmap); if (pt) { + assert(pt->target == PIPE_TEXTURE_2D); draw_bitmap_quad(ctx, x, y, ctx->Current.RasterPos[2], width, height, pt, stfp); |