Advertisement Jump to content
Sign in to follow this  

need help with Direct3D and Dev-cpp

This topic is 4912 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 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!