On Monday 29 August 2011 21:54:52 Stefan Dösinger wrote:
Technically that's true for this specific function since the result is only used by our code and never the application. Yet I prefer to keep the memset for consistency with other code that handles DDSURFACEDESC(2) structures.
I tried to change the clear value to 0xff instead of 0x00 and got test failures. So it looks like we have buggy code somewhere else. I'm investigating.