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 graphics copy buffer data on webgl #1913

Merged
merged 1 commit into from Aug 18, 2017
Merged

fixed graphics copy buffer data on webgl #1913

merged 1 commit into from Aug 18, 2017

Conversation

2youyou2
Copy link
Contributor

Re: cocos-creator/fireball#6285

Changes proposed in this pull request:

  • fixed graphics copy buffer data on webgl

@cocos-creator/engine-admins

newBuffer[i] = verts[i];
newBuffer[i + 1] = verts[i+1];

newUint32Buffer[i + 2] = uint32VertsBuffer[i + 2];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要用对应的buffer类型来进行拷贝

@jareguo jareguo merged commit 79e0b17 into cocos:v1.6 Aug 18, 2017
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