radeon: fix scissor calcs.
authorDave Airlie <airlied@redhat.com>
Thu, 27 Aug 2009 05:36:35 +0000 (15:36 +1000)
committerDave Airlie <airlied@itt42.(none)>
Thu, 27 Aug 2009 05:38:00 +0000 (15:38 +1000)
commit82ff3190de3cd6cf4a514bac00ae02597abfb963
treef7a5a70b0b5eed43e6449f3436f9de35d7e48234
parent09c73c74376ed6b12e343c89b4eac94285439860
radeon: fix scissor calcs.

For non-FBOs we need to invert, for FBOs the scissors are non-inverted.

no matter what we need to clamp them to the buffer sizes.
src/mesa/drivers/dri/radeon/radeon_common.c