ddraw: Don't include window border in default surface size
(ignore the other patch)
stefandoesinger at gmx.at
Tue Mar 6 05:16:08 CST 2007
Am Sonntag 04 März 2007 20:49 schrieb Samuel Lidén Borell:
> If no width or height is passed to CreateSurface, use GetClientRect
> instead of GetWindowRect to calculate a default size.
tbh, the whole thing is wrong. Whatever cooperative level is used, and
whatever the surface size is, windows creates a front buffer surface of the
full screen size. So if you have a res of 1400x1050 and a window of 64x64,
the front buffer is 1400x1050 pixels in size.
I wanted to change that somewhen, but the windowed d3d rendering needs some
adjustments for it(Not the usual opengl problem).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070306/a7452b23/attachment.pgp
More information about the wine-devel