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

Feature: adds setUseExternalTextureID to ofTexture. Closes #1529. Allow... #1530

Merged
merged 2 commits into from Sep 3, 2012

Conversation

ofTheo
Copy link
Member

@ofTheo ofTheo commented Aug 31, 2012

...s for setting external Texture ID which will not be released by ofTexture ( was causing crashes for people trying to use external texture ids ).

This allows you to set ofTexture to use a texture allocated by another library ( ie Core Video ).
The main reason we need this is so we know not to try and release the textureID if it was set externally.

This was tested with osxHighPerformanceVideoPlayerExample which now doesn't crash/error on exit.

…ows for setting external Texture ID which will not be released by ofTexture ( was causing crashes for people trying to use external texture ids ).
@ofTheo
Copy link
Member Author

ofTheo commented Aug 31, 2012

@obviousjim this PR should fix the error on exit. you were having.

@ofTheo
Copy link
Member Author

ofTheo commented Aug 31, 2012

@bilderbuchi I guess so :)
lets see if I can update this PR without borking anything.

ofTheo added a commit that referenced this pull request Sep 3, 2012
Feature: adds setUseExternalTextureID to ofTexture. Closes #1529.  Allow...
@ofTheo ofTheo merged commit ef7681a into develop Sep 3, 2012
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