WineD3D: Add one extra line to the dib section
saulius2 at ar.fi.lt
Wed Jun 28 11:40:45 CDT 2006
* On Fri, 23 Jun 2006, Stefan [iso-8859-1] Dösinger wrote:
> Some DirectDraw apps access the surface memory via DWORDS and do not
> take the necessary care at the end of the surface. The old DDraw code
> allocated 4 extra bytes for the surface and used the unofficial
> DIB_CreateDibSection function to create the DIB section. The normal
> CreateDIBSection function doesn't use the requested size. To increase
> the surface size to catch bad accesses one extra line is added to the
> dib section.
It's nice to hear you are working on this...
> This patch addresses the regression in Diablo 1 and some odd crashes in
> the DX7 sdk demos
...but the patch doesn't fix the Diablo 1 game on my box. I even made
distclean here to no avail.
More information about the wine-devel