From: Brian Paul Date: Wed, 26 Mar 2008 15:02:54 +0000 (-0600) Subject: gallium: need to call st_validate_state() in Bitmap() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ecb2e4a7a5881d5a98679b421d78fd11c729ebc;p=mesa.git gallium: need to call st_validate_state() in Bitmap() --- diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 6e594398743..0291b03143c 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -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) {