summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-03-26 09:02:54 -0600
committerBrian Paul <[email protected]>2008-03-26 09:02:54 -0600
commit1ecb2e4a7a5881d5a98679b421d78fd11c729ebc (patch)
treeb07d3b4974af28f97ec667e2f0346c84259567ad /src
parent8cb85807d3bd42cb0e511970e4b409c542d2716b (diff)
gallium: need to call st_validate_state() in Bitmap()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c2
1 files changed, 2 insertions, 0 deletions
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) {