[MTLDebugDevice newTextureWithDescriptor:iosurface:plane:], line 2007: error 'Texture Descriptor Validation
IOSurface textures must use MTLStorageModeShared
’
-[MTLDebugDevice newTextureWithDescriptor:iosurface:plane:]:2007: failed assertion `Texture Descriptor Validation
IOSurface textures must use MTLStorageModeShared
hello world 项目也会这样吗?
hello world 项目是正常的
@jare cocos2d-lua 版本 3.17.2 具体闪退 文件是 :/frameworks/cocos2d-x/cocos/platform/ios/CCES2Renderer-ios.m 闪退方法是 : resizeFromLayer , 行数 : 138, 调试时发现方法 resizeFromLayer调用多次, 第二次调用时闪退, 创建hello world项目只会调用一次