MobileGestalt no access to InverseDeviceID

前端 未结 9 1457
傲寒
傲寒 2020-12-13 12:13

This happens with every app when I try to use OpenGLES on my iPhone7+ with iOS10.3. But it works without any problems on my iPho

9条回答
  •  清歌不尽
    2020-12-13 13:02

    I had the same issue. It turns out to be multiple thread accessing the same OpenGLES related resource, EAGLContext to be specific. I guess it is possible that OpenGLES related codes are not thread-safe, and it behaves differently in different OS versions / iPhone 7 / 7+, sometimes it messes up the memory.

    After making sure data accesses are synchronised across threads, the problem is gone.

提交回复
热议问题