stage->tri = pstip_first_tri;
stage->next->flush( stage->next, flags );
- /* restore original frag shader */
- pstip->driver_bind_fs_state(pipe, pstip->fs->driver_fs);
-
- /* restore original texture, sampler state */
+ /* restore original frag shader, texture, sampler state */
draw->suspend_flushing = TRUE;
+ pstip->driver_bind_fs_state(pipe, pstip->fs->driver_fs);
pstip->driver_bind_sampler_states(pipe, pstip->num_samplers,
pstip->state.samplers);
pstip->driver_set_sampler_textures(pipe, pstip->num_textures,