Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map DDS formats to GLenum using an std::map
The C++11 initialiser list syntax makes an std::map much more streamlined to use as a hard-coded mapping between two sets of values (much like what would be done in Python).
- Loading branch information
Matthew Mott
committed
Jun 30, 2020
1 parent
09e8c82
commit 49f11ac
Showing
1 changed file
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters