GTK & OpenGL
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.
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.
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.
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).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement