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)
we are using SDL/Gl and just using numbered .png's for animation (foo_0.png, foo_1.png and so on)