Am Donnerstag, 26. April 2012, 11:47:51 schrieb Józef Kucia:
- DWORD pitch_or_linear_size;
Are you aware that lPitch is a (signed) LONG in the original DDSURFACEDESC structure? Honestly I have no idea why, and I have never seen an app that passes a negative pitch, but it might lead to obscure bugs if it is not checked.