r200: Fix UMS notto emit stp.

Polgon stipples are handled by kernel in UMS. Mark the
state as never to be emited for UMS.
This commit is contained in:
Pauli Nieminen 2010-02-08 11:49:10 +02:00
parent a1cac0732b
commit 4be7922a8e

View file

@ -889,7 +889,10 @@ void r200InitState( r200ContextPtr rmesa )
}
}
ALLOC_STATE( stp, always, STP_STATE_SIZE, "STP/stp", 0 );
if (rmesa->radeon.radeonScreen->kernel_mm)
ALLOC_STATE( stp, always, STP_STATE_SIZE, "STP/stp", 0 );
else
ALLOC_STATE( stp, never, STP_STATE_SIZE, "STP/stp", 0 );
for (i = 0; i < 6; i++)
if (rmesa->radeon.radeonScreen->kernel_mm)