Well I was trying to create a texture from memory that I can use for a sprite but I'm getting an
access violation on CreateShaderResourceView, here is my source:
DWORD* pSrcData = 0;
RECT rect;
// ...Set pSrcData and the rect to my image.
ID3D10Resource * pTexture;
D3DX10_IMAGE_LOAD_INFO info;
info.Width = ...