wined3d/d3d9: Set the initial scissor rect to the window size
Rico Schüller
kgbricola at web.de
Fri Aug 22 13:08:31 CDT 2008
H. Verbeet schrieb:
> 2008/8/21 Rico Schüller <kgbricola at web.de>:
>
>> + /* Set the scissor rect values */
>> + scissor.left=0;
>> + scissor.right=ThisDevice->ddraw_width;
>> + scissor.top=0;
>> + scissor.bottom=ThisDevice->ddraw_height;
>> + IWineD3DDevice_SetScissorRect(device, &scissor);
>> +
>>
> Are you sure you shouldn't be using the primary swapchain's backbuffer
> dimensions?
>
>
>
I'm not sure what exactly you mean. But the attached patch works for me
(on wine and windows). Could you have a look at it, please. Probably I
should improve the patch a bit.
Cheers
Rico
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scissor6.diff
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20080822/73f79e64/attachment.txt
More information about the wine-devel
mailing list