Skip to content

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