mesa/st: recognize no-op scissor state when checking clear_with_quads
authorKeith Whitwell <keithw@vmware.com>
Tue, 28 Jul 2009 17:45:22 +0000 (18:45 +0100)
committerKeith Whitwell <keithw@vmware.com>
Wed, 29 Jul 2009 11:48:04 +0000 (12:48 +0100)
commit2420b283b783751d4def3a3a2a0ed8bf7bb7b6a8
treef472108d90dfcf5884dd4de821b8d31f5ff4c387
parent4d99e1453552847c2a67f723adc2764443c995d7
mesa/st: recognize no-op scissor state when checking clear_with_quads

Some apps enable scissor but set the rectangle to the dimensions of
the window.  Don't let this force us onto a slower clear path.
src/mesa/state_tracker/st_cb_clear.c