Advertisement Jump to content


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



This topic is 6388 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
Yes, on some drivers but will crash on others. See the FAQ

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