eglGetCurrentContext return 0

Started by chensi, March 25, 2022, 12:59:59

Previous topic - Next topic



I try to make context for load texture in second thread.

When i call eglGetCurrentContext(), it return 0.

I know, i should put current context to eglCreatecontect() for sharing.

Can i put 0 as shared_context?

Or any way to get current context?