GtkGLExt OS X Quartz hack patch
- From: Jack Skellington <dacobi gmail com>
- To: "GTK+-2 OSX Users" <gtk-osx-users lists sourceforge net>, gtkglext-list gnome org, gtk-devel-list gnome org
- Subject: GtkGLExt OS X Quartz hack patch
- Date: Sat, 22 May 2010 20:19:35 +0200
I've made a patch that allows gtkglext to run on quartz osx without
filling up the entire toplevel window.
The problem was it seems that a function was used,
that allways returns the toplevel window.
What I've done is to create a NSOpenGLView and add it as a subview to
the toplevel NSView,
and then manually resize the OpenGLView when necessary. (In a very
I haven't changed anything regarding pixmaps or even the release
context functions, but the basic widget/view works...
(Full patched source)
(The previous quartz patch.
Apply first!!! )
(The quartz hack patch)
To build, just run the commands below in the patched gtkglext folder:
(change the dir's to your own first..)
./configure --with-gdktarget=quartz --libdir=<gtk/inst/lib>
And it should be done.
Jacob Juul Kolding
] [Thread Prev