What's up with my GL?
I believe something is terribly wrong. I decided to load some gifs into the game and suddenly this appears:(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
After some debugging I believe they originates from the line:
image = pyglet.resource.animation("solider_forwards.gif")
The error does not appear for my teammate j-1, so I'm suspecting my installation of OpenGL. Does anyone have an idea of what to do about it?
EDIT: Found this. It appears more people than me are experiencing these problems. Perhaps it's time to scrap the gif plan...
(log in to comment)
gordallott on 2009/04/29 21:51:
... why is it using Gdk? its got nothing todo with Opengl (its a Gnome library)... this is what you get when you hack together a bunch of libraries (such as gdk) that arn't ment to be used this way instead of just using sdl... its not an opengl issue, its just pygletwe are using SDL/Gl and just using numbered .png's for animation (foo_0.png, foo_1.png and so on)