• Advertisement
Sign in to follow this  

D3DX10CreateSprite returns E_FAIL

This topic is 2324 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

Hi,

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

  • Advertisement