locked
DirectX App sample doesnt work after I change indice from unsigned short to UINT

    Question

  • The sample is from Visual Studio 2013 DirectX App.

    I change cubeIndices to UINT and then changed DXGI_FORMAT from DXGI_FORMAT_R16_UINT to DXGI_FORMAT_R32_UINT

    context->IASetIndexBuffer(m_indexBuffer.Get(), DXGI_FORMAT_R32_UINT, 0);

    I only changed these two place, This work fine in win32.

    But doesn't work for my Surface RT.Nothing drawn.

    I think this problem may be the difference between ARM with X86 machine.

    But I don't know how to do with the code.

    Any help would be appreciated.Thanks and sorry for my poor English.

    Wednesday, November 27, 2013 4:14 AM

Answers

All replies