Tag Info

New answers tagged

2

The main thing to remember is that _declspec(align(16)) only affects the struct/class layout, is respected for local or global variables, but has no affect on heap allocated memory. In other words, it doesn't matter if the member variable of a class is marked with alignment if the class is allocated with new. Heap allocations by default with x86 (32-bit) ...


0

D3DX_SKIP_DDS_MIP_LEVELS(32, D3DX_DEFAULT), 32 should have been 1 instead .



Top 50 recent answers are included