On 29 August 2011 20:53, Stefan Dösinger stefan@codeweavers.com wrote:
On Monday 29 August 2011 19:40:13 Henri Verbeet wrote:
On 29 August 2011 19:20, Stefan Dösinger stefan@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.