Matthew Allum wrote:
Hi;
On Wed, 2008-06-25 at 16:26 -0700, James Ketrenos wrote:
I came across a couple problems today while playing with
clutter/test/test-pixmap.c -- the first was easy enough; it wasn't
taking arguments as hex, so I changed the atol(argv[1]) to
strtol(argv[1], NULL, 0) in clutter/tests/test-pixmap...
Thanks, have committed.
The second one took a bit more digging (I'm still finding my way around
the code) -- but it appears that _gl_bind_tex_image wasn't being
initialized correctly in clutter/glx/clutter-glx-texture-pixmap.c It
looked like it should have been being called when the class was
initialized, but wasn't. I'm not sure where the *right* place is to fix
it; below is the hack I put in locally to make things work.
Hmmm, Are you sure its *not* getting called and its more a case of you
not having the extension present ? Do you see a crash ?
It was segfaulting until I put in the call to explicitly setup the
_gl_bind_tex_image... although the GLX based pixmap doesn't appear to be
working correctly -- it never paints the texture contents (I thought it
was previously, after I commented out
clutter_x11_texture_pixmap_new_with_pixmap it stopped drawing the
redirected window contents)
James
== Matthew
--
To unsubscribe send a mail to [EMAIL PROTECTED]