i830: Fix crash for GL_STENCIL_TEST in i830Enable()
authorKurt Roeckx <kurt@roeckx.be>
Thu, 10 May 2012 22:19:42 +0000 (00:19 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 29 May 2012 18:33:02 +0000 (11:33 -0700)
commitf92b2e5e90f456491fc15b3b9612381a83726606
treef9438d6564b7533449a59e02b735998dacb2d4d8
parent89241336276deeef525b35bf5dc7db345a18a3e1
i830: Fix crash for GL_STENCIL_TEST in i830Enable()

commit 87f12bb2d95236c7b025d1a8be56b5ab1683d702 tried to fix rb->mt
being NULL, but change this case wrong.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/i830_state.c