• Advertisement
Sign in to follow this  

Initializing a program

This topic is 4717 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

Does someone know how to initiate a program in OpenGL? I have an idea but i don't really know how. Also i know i need some header files to work in windows. As i only have them for dos. Could someone tell me where to get them?

Share this post


Link to post
Share on other sites
Advertisement
If you want to render OpenGL using the windows API you create a window, and then use WGL calls to set up a rendering context connected to the device context of your window.

Or you use a library like glut or SDL, which do the window creation for you.

But there are many tutorials in the web how to do that specifically - use google!
There you will also learn all about the required OpenGL libraries and their header files.

Constantin

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement