Sign in to follow this  

D3DX10CreateSprite returns E_FAIL

Recommended Posts


My D3D10 application is working well on most computers. But on a computer of my friend (which has ATI card), D3DX10CreateSprite function returns E_FAIL. And This E_FAIL result is not even documented for that function on DX SDK.

So I made a very simple test application to see if it is my application's problem or other pc's problem. I am creating a device and calling D3DX10CreateSprite. It works on my pc (nvdia) and still returns E_FAIL on friend's PC (ati)

hr = D3D10CreateDeviceAndSwapChain( NULL, g_driverType, NULL, 0, D3D10_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice );

if( FAILED( hr ) ) return hr;

ID3DX10Sprite* pSprite;
int hr = D3DX10CreateSprite(g_pd3dDevice, 0, &pSprite);

if( FAILED( hr ) ) return hr;

Do you have any idea ?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this