Pb WineD3D: power of 2 surface and non power of 2 DIB section
Christian Costa
titan.costa at wanadoo.fr
Mon Jul 10 15:10:40 CDT 2006
Hi,
When calling CreateSurface, a power of 2 surface is created and then the
necessary memory is allocated.
If we try to get the DC with GetDC, a DIB section is created with the
original size of the surface and data from the surface
is copied to the DIB section The power of 2 surface being greater than
the DIB section, this makes Wine crashes.
I haven't followed power of 2 texture/surface development. Is there
someone having a idea on this.
Bye,
Christian
More information about the wine-devel
mailing list