LWJGL Forum

Programming => OpenGL => Topic started by: chensi on March 25, 2022, 12:59:59

Title: eglGetCurrentContext return 0
Post by: chensi on March 25, 2022, 12:59:59
Hello.

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?