Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zeraan

Help with Clear

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

I''m learning from 2D in Direct3D book, and I tried to seperate the Direct3D stuff into another file, and I was able to link it. But when it reaches g_pd3ddev->Clear ( 0 , NULL , D3DCLEAR_TARGET , D3DCOLOR_XRGB ( 0 , 0 , 0 ) , 0.0f, 0 ) ; it gave me a First-chance exception in 2D Engine.exe: 0xC0000005: Access Violation. What does this mean? I have no clue on this...

Share this post


Link to post
Share on other sites
Advertisement
Doh... I found the problem. the screen size was 800x640, and I wasn''t sure if this was the problem (I keep getting confused with 600 or 640) so I switched to 640 x 480, and it worked, and then I realized that its the resoultion. Thanks anyway

Share this post


Link to post
Share on other sites

  • 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!