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

exc_bad_access occurs when build with xcode11.4 in release mode #316

Open
sh4wn opened this issue May 29, 2020 · 5 comments
Open

exc_bad_access occurs when build with xcode11.4 in release mode #316

sh4wn opened this issue May 29, 2020 · 5 comments

Comments

@sh4wn
Copy link

sh4wn commented May 29, 2020

glTexImage2D(GLenum(GL_TEXTURE_2D), 0, GL_RGBA, widthToUseForTexture, heightToUseForTexture, 0, GLenum(format), GLenum(GL_UNSIGNED_BYTE), imageData)

I believe the variable 'imageData' occurred the error

@sh4wn
Copy link
Author

sh4wn commented May 29, 2020

The problem exists in xcode 11.5 also.

@maxwell212
Copy link

@sh4wn Did you find a solution for this?

@sh4wn
Copy link
Author

sh4wn commented Jun 26, 2020

@sh4wn Did you find a solution for this?

I have created a cocoapod called "XYGPUImage2" that fix this problem. I don't know if it's the perfect way to do so.

@maxwell212
Copy link

Thanks that fixed it for me.

@jsonwang
Copy link

jsonwang commented Jan 6, 2021

please help me i got it

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

3 participants