PDA

View Full Version : Sample C code for GTK and OpenGL contexts, using GtkGLExt.



Gordon Bennett
February 4th, 2009, 09:51 PM
Hi folks, to help out anyone who is looking into using OpenGL within GTK windows (using GtkGLExt) I have released fully documented sample code in C to be used freely as you wish.

It provides safe render-process locking and smooth timer-based rendering while being simple, efficient and easy to understand what is going on.

Direct link to the code archive: GtkGLApp (http://mil-tdd-41p.net/archives/GtkGLApp.tar.gz)

The archive can also be directly imported as a project into Eclipse IDE :) Instructions to do that can be found in my blog entry here (http://mil-tdd-41p.net/?p=39).