浏览代码
we should not terminate egl_display_, the reason is as follows: When calling eglGetPlatformDisplayEXT to get egl_display_, egl will first check a dictionary<platform, egl_display>, if it contains a display for the given configuration, it returns the display directly. otherwise it will create a new egl_display and put it into the dictionary. As the result, if there are more than one uiwidgets_panels in the uiwidgets_system, they will share the same egl_display instance. Then when all the panels are disabled at the same time (happens when we hit the play button or close the Editor),the first calling of eglTerminate here will uninitiate the shared egl_display instance, making it impossible for the other panels to be disabled properly./siyaoH-1.17-PlatformMessage
xingweizhu
4 年前
当前提交
3bebd5ac
共有 1 个文件被更改,包括 12 次插入 和 15 次删除
正在加载...
Reference in new issue