diff options
author | Marek Olšák <[email protected]> | 2010-03-08 04:31:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-03-08 04:34:27 +0100 |
commit | 6abe6145fb3b642fc2ae1d6ad2cc9de045efe0cb (patch) | |
tree | eecb2c4ce3d82d8e31d2aac6c6116c66f3bf9351 /src/gallium/drivers/r300/r300_emit.c | |
parent | ea027bda8e4a7cdd8f131e01ab4ff80d6c6a3ab7 (diff) |
r300g: remove unnecessary state emissions and clean up
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index a1d31d57b83..51fc590e5d9 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -675,7 +675,7 @@ void r300_emit_scissor_state(struct r300_context* r300, maxx = fb->width; maxy = fb->height; - if (((struct r300_rs_state*)r300->rs_state.state)->rs.scissor) { + if (r300->scissor_enabled) { minx = MAX2(minx, scissor->minx); miny = MAX2(miny, scissor->miny); maxx = MIN2(maxx, scissor->maxx); |