Vladimir Ivakin <[email protected]> writes:

> I am trying to play with clutter version 1.1.10 and get segfault while
> running interactive tests:
...
> After some investigations with gdb i've found:
> 1. My driver does not support COGL_FEATURE_OFFSCREEN
> 2. _cogl_texture_2d_can_create returns FALSE
> 3. _cogl_texture_2d_new_with_size returns COGL_INVALID_HANDLE
> 4. there is no check for COGL_INVALID_HANDLE in
> _cogl_atlas_texture_reserve_space after call to
> _cogl_texture_2d_new_with_size

Thanks for reporting this. I've pushed a similar patch¹ to fix it.

I've also made it completely disable the atlas² if
COGL_FEATURE_OFFSCREEN isn't available because in that case reorganizing
the atlas will be very costly.

By the way, in future it would be nice if you could report this kind of
problem via Bugzilla if possible to make it easier to track.

Thanks,
- Neil

¹ http://ho.io/aksn
² http://ho.io/aksp
--
To unsubscribe send a mail to [email protected]

Reply via email to