Archived

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

caffeineaddict

Unsure

Recommended Posts

caffeineaddict    633
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
Obelix    122
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