gallium: need to call st_validate_state() in Bitmap()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 26 Mar 2008 15:02:54 +0000 (09:02 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 26 Mar 2008 15:02:54 +0000 (09:02 -0600)
src/mesa/state_tracker/st_cb_bitmap.c

index 6e59439874372cbcac6e01717f7b176ce3da0697..0291b03143caeba05ca2c8dacf393c9ad49be20b 100644 (file)
@@ -475,6 +475,8 @@ st_Bitmap(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
    struct st_context *st = ctx->st;
    struct pipe_texture *pt;
 
+   st_validate_state(st);
+
    stfp = combined_bitmap_fragment_program(ctx);
 
    if (!st->bitmap.vs) {