Jump to content
  • Advertisement

Archived

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

caffeineaddict

Unsure

This topic is 6296 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 not really sure where to put this question since it''s about both OpenGL and DirectX so here it goes. I have many game programming books including the OpenGL book by Dave Astle and Kevin Hawkins of the site(which i''ve finished reading btw and am starving for more) and i''ve got some of Andre Lamothe''s books, I was reading one of Andre''s book and was reading about DirectX graphics part. I saw that setting up a window and resolution is easier, in my opinion than OpenGL, so I was wondering, is it possible to setup a window using direct x and then using OpenGL code for the graphics etc.? Please help.

Share this post


Link to post
Share on other sites
Advertisement
Yes, on some drivers but will crash on others. See the FAQ
http://www.frii.com/~martz/oglfaq/mswindows.htm#mswi0060

The easiest way is by using something like GLUT instead.

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!