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

GLTextureView 在 5.0 以下的手机使用 OpenGL 绘制不了透明色 #95

Open
Colonel-Lee opened this issue Mar 31, 2021 · 1 comment

Comments

@Colonel-Lee
Copy link

override fun onSurfaceCreated() {
glClearColor(0.0f, 0.0f, 0.0f, 0.0f) // 期待绘制透明色,实际上是黑色,5.0 以下才有这个问题
}

@ChillingVan
Copy link
Owner

试一下BaseGLCanvasTextureView的setRenderBackgroundColor或者setOpaque?

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