Jump to content
  • Advertisement
Sign in to follow this  
Hacim

need help with Direct3D and Dev-cpp

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

windows xp DirectX 9.0b SDK dev-cpp v 4.9.9.2 Hi,I'm not sure this is really a problem with dev-cpp because it seems to be that the d3dx9core.h file is outdated or just missing some thing.What I'm having trouble with is the D3DXSprite->Draw() function.I'm using the DirectX SDK of the CD that came with "Beginning Game Programming",and according to that the D3DXSprite->Draw function should look like this: HRESULT Draw( LPD3DTEXTURE9, CONST RECT, CONST D3DXVECTOR3, CONST D3DXVECTOR3, D3DCOLOR); But dev-cpp seems to think it should go like this: HRESULT Draw( LPDIRECT3DTEXTURE9, CONST RECT, CONST D3DXVECTOR2, CONST D3DXVECTOR2, FLOAT, CONST D3DXVECTOR2, D3DCOLOR); And it seem Dev-Cpp is right because I looked in the d3dx9core.h file (which is where it should be I think) but only the second function seems to exist. I also have problems with D3DXSprite->Begin(D3DXSPRITE_ALPHABLEND) but I have a feeling there both related. Anybody have any sugestions?

Share this post


Link to post
Share on other sites
Advertisement
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!