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

Extend flip() to texture_cube and texture_cube_array and allow flipping S3TC-compressed images #94

Merged
merged 1 commit into from
Sep 11, 2016

Conversation

Vtec234
Copy link

@Vtec234 Vtec234 commented Mar 31, 2016

  • Added flip() for texture_cube and texture_cube_array
  • Added is_s3tc_compressed() to check for said compression
  • Added flip_s3tc() and flip_s3tc_block() for S3TC compressed images
  • Added the appropriate tests

Does almost the same thing as #58. Refactored for easy merging.

Allow gli::flip to flip textures compressed with S3TC (DXT).
Add gli::is_s3tc_compressed to format functions.
Add tests for flipping of S3TC-compressed textures.
@ousnius
Copy link

ousnius commented Sep 13, 2016

This broke VC++ 2013 support due to the binary literals that are only supported starting VC++ 2015.
Changing 0b11110000 to 0xF0 and 0b1111 to 0xF fixes it.

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.

3 participants