[GtkGLExt] Cannot Render



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm writing a shared object that uses gtkglext.  I register the expose,
configure, map, unmap... callbacks and everything, and they do get
called but the OpenGL calls don't cause anything to get rendered in my
gtk drawing area widget.  I basically used the example logo source code,
with a few changes like calling gtk_gl_init(NULL, NULL) when the plugin
first gets initialized (since i don't have access to the arguments).
Does gtk_gl_init need to be called prior to starting the gtk_main loop?
~ I can't figure out why nothing gets rendered even though my drawing
callbacks do get called.  My expose callback just does a glClear(0.0,
0.0, 0.0, 0.0) but the drawing area doesn't get cleared.

Any help would be appreciated.
Thanks,
William
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAksy5VRcam4vgxG8RAkRwAJ0eWxRpQADwg57JtQhdmnsvjhVA0gCfZQKz
3MhBBvqFInRUGb/WvXBnmGg=
=Z4R8
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]