diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-04-04 16:09:59 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-04-05 07:09:45 +0200 |
commit | 4e949271c25ccc5a06fbbbe912b0b43b75d1d169 (patch) | |
tree | 1fd7e66fe065cd5206afcdc84c089d833f58c992 /src/gallium/drivers/r300/r300_state.c | |
parent | 0179c5a95b604105ead8d642e8313740adc2a686 (diff) |
r300g: is_npot -> uses_pitch
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 2c0a7d82f5..dc94c95e69 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -969,7 +969,7 @@ static void r300_set_fragment_sampler_views(struct pipe_context* pipe, /* R300-specific - set the texrect factor in the fragment shader */ texture = (struct r300_texture *)views[i]->texture; - if (!is_r500 && texture->is_npot) { + if (!is_r500 && texture->uses_pitch) { /* XXX It would be nice to re-emit just 1 constant, * XXX not all of them */ r300->dirty_state |= R300_NEW_FRAGMENT_SHADER_CONSTANTS; |