1d7a7bf1e6
tex->first_pixels was never set for foreign textures, leading to a crash when the texture object is freed. As a quick fix, simply set to NULL. A more complete fix would require remembering if we had ever seen the first pixel uploaded, and if not, doing a glReadPixel to get it before triggering the mipmap update. http://bugzilla.openedhand.com/show_bug.cgi?id=1645 Signed-off-by: Neil Roberts <neil@linux.intel.com> |
||
---|---|---|
.. | ||
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 |