mesa: Refactor scissor rectangle setting even more
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Dec 2013 19:54:41 +0000 (11:54 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:31:59 +0000 (11:31 -0800)
commit5232a7ded0c3a302ee0b551436b8f64a298d221c
treec96ac9aab3336ce29da06c6437e2e5722cfecf7a
parent799265aadcec6a7cf8918b5a8b4792016534b9c2
mesa: Refactor scissor rectangle setting even more

Create an internal function that just writes data into the scissor
rectangle.  In future patches this will see more use because we only
want to call dd_function_table::Scissor once after setting all of the
scissor rectangles instead of once per scissor rectangle.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/scissor.c