I was working from the CVS version of gtkglarea, which does have that
function. I did not check the release version (I should have though),
since it did not look like any changes had been made to the module for a
while. The header file in CVS contains the prototypes:
void gtk_gl_area_swapbuffers(GtkGLArea *glarea); /* deprecated */
void gtk_gl_area_swap_buffers(GtkGLArea *glarea);
So I used the swap_buffers variant. You could ask the gtkglarea author to
release a new version if the current release is not up to date.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Sat, 14 Aug 1999, Mitch Chapman wrote:
> Hi,
>
> I've been trying to build gnome-python-1.0.4 on a Linux 2.0.36
> system, and have been having problems integrating the
> GtkGlArea widget.
>
> When I try to run one of the demos from pygtk/examples/gl,
> I get a runtime link error saying gtk_gl_area_swap_buffers is
> undefined.
>
> The latest version of GtkGlArea from http://www.student.oulu.fi/~jlof/gtkglarea/
> (v. 1.2.1) defines a gtk_gl_area_swapbuffers (note the missing underscore),
> but no gtk_gl_area_swap_buffers.
>
> The same holds true for the latest version from the GNOME CVS
> repository.
>
> Which version of GtkGlArea does pygtk 0.6.2 expect to use?
>
> Thanks for the help.
> --
> Mitch Chapman
> [EMAIL PROTECTED]
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]