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