Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chaocharleswang opened this issue Feb 28, 2020 · 1 comment

Comments

@chaocharleswang
Copy link
Contributor

chaocharleswang commented Feb 28, 2020

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 chaocharleswang changed the title CVMetalTextureCacheCreateTextureFromImage failed in iOS 9 & 10 CVMetalTextureCacheCreateTextureFromImage failed in iOS 9 & 10 (32-bit iPhone & iPad) Feb 28, 2020
@stonexing
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants