mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
4b125d7fde
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. |
||
---|---|---|
.. | ||
cogl-context.c | ||
cogl-context.h | ||
cogl-defines.h.in | ||
cogl-fbo.c | ||
cogl-fbo.h | ||
cogl-primitives.c | ||
cogl-program.c | ||
cogl-program.h | ||
cogl-shader-private.h | ||
cogl-shader.c | ||
cogl-texture-private.h | ||
cogl-texture.c | ||
cogl.c | ||
Makefile.am |