Hi team,

I'm facing an issue in which _clutter_do_pick() throws me the
following infamous error when an incorrect pick color is read by
glReadPixels.

---------------------------------------------------
Error:
"(./.libs/test-events:1635): Clutter-CRITICAL **:
clutter_id_pool_lookup: assertion `id < id_pool->array->len' failed"
---------------------------------------------------

I've been going through couple of bug reports being filed on this
issue and got a decent overview of how Clutter pick actor colors based
on glReadPixels() call.

In my case glReadPixels() is returning me the actual actor colors i.e
for a Red actor i'm reading [f8,00,00] which is Red in RGB565 format.
Whereas the same working Clutter event example, with a different GLES
librarry, gives me glReadPixels value as [00,00,18] on touching Red
actor.

What am I doing/interpreting wrong here?
It would be really helpful if someone can guide me on correct
behavior/implementation of glReadPixles() as well.

Thanks for your concern.
regards,
Amit Pundir
-- 
To unsubscribe send a mail to [email protected]

Reply via email to