Can i create a texture object with a gif picture?
I try to do this and succeed compiling and linking, but fail to start.
if(D3DXCreateTextureFromFileEx(g_D3DDevice, file, 0, 0, 0, 0,
D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_DEFAULT,
D3DX_DEFAULT, colorkey, &info, NULL,
&m_textureList[index].image) != D3D_OK) return false;
Maybe I should change some parameters?
Sorry for new of direct3d. Thanks.
Not with
D3DXCreateTextureFromFileEx: