In i915/i830_emit_state(), check if state->draw_region is non-null.
authorBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 18:49:11 +0000 (12:49 -0600)
committerBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 18:49:11 +0000 (12:49 -0600)
commitf0b4d9cb24506d637a2e8ed06626277726afb321
treed89db73ddfa13d2f1c6b31d6354c925c5b2d7312
parent6490c7d4aadac7d240d62e2d5c02d8973d69b71f
In i915/i830_emit_state(), check if state->draw_region is non-null.

This fixes a problem hit by glClear in the samples/stencil.c program.
src/mesa/drivers/dri/i915tex/i830_vtbl.c
src/mesa/drivers/dri/i915tex/i915_vtbl.c