summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-24 07:45:45 +1000
committerDave Airlie <airlied@redhat.com>2010-09-24 07:46:59 +1000
commitc0c0c4b96b0174f1750c1e78bb12de65ec577bbf (patch)
tree5bb6a043aded0f444aca45aa9b15a9c266a0ed15
parentb360c050b60a578ce6c75cbc872dd54999b3f6c5 (diff)
r300g: fix point sprite coord.
handled elsewhere now. thanks to Droste on irc for pointing out the fix
-rw-r--r--src/gallium/drivers/r300/r300_state.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 8ccb63964e..d6cded927a 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -950,10 +950,8 @@ static void* r300_create_rs_state(struct pipe_context* pipe,
rs->rs = *state;
rs->rs_draw = *state;
- /* Generate point sprite texture coordinates in GENERIC0
- * if point_quad_rasterization is TRUE. */
rs->rs.sprite_coord_enable = state->point_quad_rasterization *
- (state->sprite_coord_enable | 1);
+ state->sprite_coord_enable;
/* Override some states for Draw. */
rs->rs_draw.sprite_coord_enable = 0; /* We can do this in HW. */