Another weird behaviour.

I'm trying to have multiple threads that render to the same surface.
So I'm creating a single EGLSurface form the SurfaceHolder and then an
EGLContext for each thread.
Each thread calls the eglMakeCurrent function passing the eglSurface
(for both read/write) and its own eglContext.

When the second thread call the eglMakeCurrent() i get an
EGL_BAD_ACCESS error. The documentation (http://www.khronos.org/
opengles/sdk/1.1 ... urrent.xml) says:
"EGL_BAD_ACCESS is generated if context is current to some other
thread."
and I'm sure that the context is a brand new context that cannot be
current on any other thread.

Any suggestion?

Thanks twice ;)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to