[1/5] ddraw: Introduce a function to convert a DDSURFACEDESC to a DDSURFACEDESC2

Henri Verbeet hverbeet at gmail.com
Mon Aug 29 14:38:28 CDT 2011

On 29 August 2011 20:53, Stefan Dösinger <stefan at codeweavers.com> wrote:
> On Monday 29 August 2011 19:40:13 Henri Verbeet wrote:
>> On 29 August 2011 19:20, Stefan Dösinger <stefan at codeweavers.com> wrote:
>> > +/* Note that this function writes the full sizeof(DDSURFACEDESC2) size,
>> > don't use it
>> So no need to clear it first.
> Well, the clear is part of the code that writes to the structure. The rest of
> the code only writes members that are set in the source DDSURFACEDESC.
If they aren't set in the source structure we should never read them anyway.

More information about the wine-devel mailing list