Re: ddraw: Don't include window border in default surface size (ignore the other patch)
6 Mar
2007
6 Mar
'07
11:16 a.m.
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).
6946
Age (days ago)
6946
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger