Go to file
Neil Roberts e521638f91 [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
common On bad blend strings, print the error if not returning it 2009-06-08 23:51:08 +01:00
doc/reference/cogl [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
gl [CoglTexture] Initialise tex->first_pixels to NULL in all constructors 2009-06-09 11:13:11 +01:00
gles [CoglTexture] Initialise tex->first_pixels to NULL in all constructors 2009-06-09 11:13:11 +01:00
cogl-bitmap.h Fix inclusion guards and headers 2009-05-06 17:59:25 +01:00
cogl-color.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-debug.h [cogl-material] Support string based blending and layer combine descriptions 2009-05-28 02:43:28 +01:00
cogl-deprecated.h [cogl deprecated] Add backface culling deprecation 2009-05-28 14:14:50 +01:00
cogl-fixed.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-material.h On bad blend strings, print the error if not returning it 2009-06-08 23:51:08 +01:00
cogl-matrix.h Rename 'near' and 'far' variables to 'z_near' and 'z_far' 2009-06-04 11:48:51 +01:00
cogl-offscreen.h [cogl-offscreen] Cleans up the cogl offscreen API and adds documentation 2009-05-02 04:12:26 +01:00
cogl-path.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader.h [cogl-shader] Make get_info_log() slightly nicer 2009-06-01 17:40:23 +01:00
cogl-texture.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-types.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-vertex-buffer.h [cogl-vertex-buffer] Add cogl_vertex_buffer_indices_get_for_quads 2009-06-01 14:50:52 +01:00
cogl.h.in [cogl] Generate enumeration GTypes 2009-05-29 12:31:47 +01:00
cogl.pc.in [cogl] Fix hardcoded paths in the pc file 2009-03-10 12:38:04 +00:00
Makefile.am [build] Remove cogl-enum-types.h on distclean 2009-05-29 17:50:58 +01:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00