mutter/clutter/cogl/gles
Neil Roberts 4b125d7fde [CoglTexture] Initialise tex->first_pixels to NULL in all constructors
Otherwise if there is an error before the slices are created it will
try to free the first_pixels array and crash.

It now also checks whether first_pixels has been created before using
it to update the mipmaps. This should only happen for
cogl_texture_new_from_foreign and doesn't matter if the FBO extension
is available. It would be better in this case to fetch the first pixel
using glGetTexImage as Owen mentioned in the last commit.
2009-06-09 11:13:11 +01:00
..
cogl-context.c
cogl-context.h
cogl-defines.h.in
cogl-fbo.c
cogl-fbo.h
cogl-fixed-fragment-shader.glsl
cogl-fixed-vertex-shader.glsl
cogl-gles2-wrapper.c
cogl-gles2-wrapper.h
cogl-primitives.c
cogl-program.c
cogl-program.h
cogl-shader-private.h
cogl-shader.c
cogl-texture-private.h
cogl-texture.c [CoglTexture] Initialise tex->first_pixels to NULL in all constructors 2009-06-09 11:13:11 +01:00
cogl-util.c
cogl-util.h
cogl.c
Makefile.am
stringify.sh