From: Marek Olšák Date: Sun, 2 May 2010 05:06:35 +0000 (+0200) Subject: Revert "r300g: disable point sprites (again)" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82027b2027d7cdb2cc9cd55b4746f80600a62a4e;p=mesa.git Revert "r300g: disable point sprites (again)" This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca. --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 6a73f388fca..bea1b58e06d 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -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))