Jump to content
  • Advertisement

Archived

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

Zeraan

Help with Clear

This topic is 5756 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!