Jump to content
  • Advertisement
Sign in to follow this  

D3DX10CreateSprite returns E_FAIL

This topic is 2533 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!