wined3d: IWineD3DDevice::Clear fixes.
commite935600ebc7892bdd48993ecf2455cf10c0d2b1d
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 20 Feb 2007 21:44:12 +0000 (20 22:44 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Feb 2007 09:56:36 +0000 (21 10:56 +0100)
tree005c3da1fd9afaecbdde741ece5dbc08effb782d
parentdd93e1fb7f1d889ff40eac8c3a2e8caaf195b836
wined3d: IWineD3DDevice::Clear fixes.

Fix the use of the scissor test in Clear. The rectangle is only set if
a clearing rectangle is used, otherwise the scissor test is disabled
(the pixel ownsership test should take care of the window
boarders). To get the scissor test back to the value the app set up
Clear dirtifies the state(s).
dlls/wined3d/device.c