SGPlayer icon indicating copy to clipboard operation
SGPlayer copied to clipboard

CVMetalTextureCacheCreateTextureFromImage failed in iOS 9 & 10 (32-bit iPhone & iPad)

Open chaocharleswang opened this issue 4 years ago • 1 comments

Got crash when running in iOS 9 & 10

SGMetalTextureLoader.m (line 63)

CVMetalTextureCacheCreateTextureFromImage failed

crash at [textures addObject:CVMetalTextureGetTexture(texture)];

The crash issues exist on 32-bit devices, e.g.,iPhone 5 and iPad 3

chaocharleswang avatar Feb 28 '20 21:02 chaocharleswang

Metal is support from iOS8,and iPhone5s So on 32bit device does not support Metal api. You can rewrite the render module with OpenGL es API

stonexing avatar Oct 22 '20 05:10 stonexing