Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Rename Raster => Texture #6571

Merged
merged 1 commit into from
Oct 4, 2016
Merged

Rename Raster => Texture #6571

merged 1 commit into from
Oct 4, 2016

Conversation

kkaefer
Copy link
Contributor

@kkaefer kkaefer commented Oct 4, 2016

We're currently using Raster as the name for our texture wrapper object, but we should standardize on Texture.

@mention-bot
Copy link

@kkaefer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @incanus, @jfirebaugh and @tmpsantos to be potential reviewers.

}

std::array<uint16_t, 2> OffscreenTexture::getSize() const {
return raster.getSize();
return texture ? texture->size : std::array<uint16_t, 2>{{ 0, 0 }};
Copy link
Contributor

Choose a reason for hiding this comment

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

Puzzles me why clang finds this ambiguous.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah; seems that (*texture).size works. Maybe a bug in Clang 3.5?

@jfirebaugh jfirebaugh merged commit 0731571 into master Oct 4, 2016
@jfirebaugh jfirebaugh deleted the 6571-raster-to-texture branch October 4, 2016 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants