Revert "r300g: disable point sprites (again)"
authorMarek Olšák <maraeo@gmail.com>
Sun, 2 May 2010 05:06:35 +0000 (07:06 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 2 May 2010 10:56:34 +0000 (12:56 +0200)
This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca.

src/gallium/drivers/r300/r300_state.c

index 6a73f388fcaf9306615d4ba4d0303749797cb737..bea1b58e06db697bc4921979e021bc6fcfa669f8 100644 (file)
@@ -816,11 +816,8 @@ static void* r300_create_rs_state(struct pipe_context* pipe,
 
     rs->clip_rule = state->scissor ? 0xAAAA : 0xFFFF;
 
-    /* XXX Disable point sprites until we know what's wrong with them. */
-    rs->rs.sprite_coord_enable = 0;
-
     /* Point sprites */
-    if (rs->rs.sprite_coord_enable) {
+    if (state->sprite_coord_enable) {
         rs->stuffing_enable = R300_GB_POINT_STUFF_ENABLE;
        for (i = 0; i < 8; i++) {
            if (state->sprite_coord_enable & (1 << i))