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 653a83445f
commit 9e587dbd78

View file

@ -894,7 +894,10 @@ void r200InitState( r200ContextPtr rmesa )
}
}
ALLOC_STATE( stp, polygon_stipple, STP_STATE_SIZE, "STP/stp", 0 );
if (rmesa->radeon.radeonScreen->kernel_mm)
ALLOC_STATE( stp, polygon_stipple, 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)