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

fixed get max texture units #1927

Merged

Conversation

2youyou2
Copy link
Contributor

@2youyou2 2youyou2 commented Nov 12, 2019

cocos/2d-tasks#2075

GL_MAX_TEXTURE_UNITS 是已经废弃的固定渲染管线的 api ,不应该使用到:https://www.khronos.org/opengl/wiki/Textures_-_more

@holycanvas
Copy link
Contributor

@holycanvas holycanvas commented Nov 12, 2019

看起来 iOS 和 android 因为有宏的原因,所以没问题,mac 和 windows就不行了?

@2youyou2
Copy link
Contributor Author

@2youyou2 2youyou2 commented Nov 12, 2019

对,不知道为什么以前没人报呢

@holycanvas holycanvas merged commit b14ae52 into cocos:v2.2.1-release Nov 12, 2019
1 check passed
@holycanvas
Copy link
Contributor

@holycanvas holycanvas commented Nov 12, 2019

。。。大概可能跟机型还有关系

@2youyou2 2youyou2 deleted the v2.2.1-release-texture-units branch Sep 16, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants