If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: glReadPixel sgx error: corrupt command buffer iOS 4.0

Ok, I fixed the problem. Previously, I was using a "global" context that I init in the viewController and that every view could use. I changed this to share groups and it seems to fix this specific issue.

That being said, I still don't know what the cause of this problem is. From what I read, it could be related to multi-threading. If another thread tried to use the OpenGL context at the same time, maybe this problem could happen...

I'm really not sure as to what the problem was so if anyone has some better explanation, please post them!