diff options
author | Dave Airlie <[email protected]> | 2010-09-24 07:45:45 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-24 07:46:59 +1000 |
commit | c0c0c4b96b0174f1750c1e78bb12de65ec577bbf (patch) | |
tree | 5bb6a043aded0f444aca45aa9b15a9c266a0ed15 /src | |
parent | b360c050b60a578ce6c75cbc872dd54999b3f6c5 (diff) |
r300g: fix point sprite coord.
handled elsewhere now.
thanks to Droste on irc for pointing out the fix
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 4 |
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 8ccb63964e7..d6cded927a1 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. */ |