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

fix data type on texture load from int32_t* and uint32_t* #6257

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

shenberg
Copy link
Contributor

ofTexture::loadData with int32_t* and uint32_t*inputs sets the type in the call to glTexSubImage2D incorrectly to GL_SHORT, causing corruption.

@arturoc arturoc merged commit eb1f22f into openframeworks:master Mar 18, 2019
@shenberg shenberg deleted the fix-int-texture-loading branch March 19, 2019 16:25
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.

2 participants