Jump to content
  • Advertisement
Sign in to follow this  
KuJi

OpenGL GTK & OpenGL

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

Wasn't sure where to post it. Language: C++ Does anyone know where theres documentations on GTK with OpenGL? If so, please post it - will be appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Currently using that, but I can't seem to find any decent documentations on how to setup the main OpenGL window so I can use normal (?) opengl calls to draw.

Share this post


Link to post
Share on other sites
If you installed gtk on windows (without cygwin or something) then there should be a directory called "gtkglext-examples" somewhere in there. There is a nice example called simple.c which sets up gdk to render OpenGL into a gtk canvas widget.

Share this post


Link to post
Share on other sites
Quote:
Original post by basement
If you installed gtk on windows (without cygwin or something) then there should be a directory called "gtkglext-examples" somewhere in there. There is a nice example called simple.c which sets up gdk to render OpenGL into a gtk canvas widget.


Yeah, I seen it. Only thing is, I wasn't sure if gdkgl is the same thing as gtkgl (since they seem to be set up different -- unsure).

Share this post


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

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