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 commented Nov 12, 2019

cocos-creator/2d-tasks#2075

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

@holycanvas

This comment has been minimized.

Copy link
Contributor

holycanvas commented Nov 12, 2019

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

@2youyou2

This comment has been minimized.

Copy link
Contributor Author

2youyou2 commented Nov 12, 2019

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

@holycanvas holycanvas merged commit b14ae52 into cocos-creator:v2.2.1-release Nov 12, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@holycanvas

This comment has been minimized.

Copy link
Contributor

holycanvas commented Nov 12, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.