<p><br>
Am 26.04.2012 22:22 schrieb "Józef Kucia" <<a href="mailto:joseph.kucia@gmail.com">joseph.kucia@gmail.com</a>>:<br>
> MSDN says that dwPitchOrLinearSize is DWORD in the DDS_HEADER. Also,<br>
> the same definition is used in a D3D sample. On the other hand, we can<br>
> define it as LONG to be safe.<br>
Nah, no need in that case. But I recommend to write tests for invalid pitches<br>
</p>