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

[Graphics contexts] Retain the reference color space #trivial #784

Merged
merged 1 commit into from
Feb 2, 2018

Conversation

Adlai-Holler
Copy link
Member

We need to retain this since the image is about to go away.

There is however no danger currently, because the returned color space is a system constant so its retain count is always -1. This is just a matter of API correctness.

@Adlai-Holler Adlai-Holler changed the title [Graphics contexts] Retain the reference color space [Graphics contexts] Retain the reference color space #trivial Feb 1, 2018
@Adlai-Holler Adlai-Holler merged commit c645421 into master Feb 2, 2018
@Adlai-Holler Adlai-Holler deleted the AHRetainColorSpace branch February 2, 2018 18:36
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
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