Jump to content
  • Advertisement

Archived

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

kitawolf

DirectX 8 Question

This topic is 6061 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 creating a game using DirectX 8 and I am trying to get it to run on different machines. It will run on my PIII machine but when I try it on a PII or a Celeron machine the program crashes during initialization. I''ve tracked the problem down to the LPDIRECT3D8->CreateDevice() call. Like I said before it will work on one machine but not others. If anyone has any ideas as to why or how to fix the problem please let me know. kitawolf

Share this post


Link to post
Share on other sites
Advertisement
- What return code are you getting from CreateDevice() ?

- What does the debug output say (with the debug runtimes installed) ?


It''s most likely that the graphics card in the machine this fails on doesn''t support something you''re asking for when you create the device. Examples are: asking for hardware vertex processing when the graphics card doesn''t have hardware T&L, asking for a frame buffer or Z buffer format which won''t work, asking for a sample or present mode which won''t work on that particular hardware.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Thank You for the help guys! Your advice led me down the right path so now I can at least get the program to stop crashing on start-up. Thanks!

kitawolf

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!