-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IGL: Remove helper functions from TextureFormat.h
Summary: This diff removes two helper functions from TextureFormat.h. Each is only used in one place. isTextureFormatBGR is inaccurately named as it only checks for two of the five supported BGR formats. It is be replaced with its implementation. isTextureFormatsRGB is also a less functional version of checking isSRGB() on the format's properties so this call is replaced with using the texture format properties. Reviewed By: KyleFung Differential Revision: D49699222 fbshipit-source-id: af8811b765b999059621df3b5bccf7c1cf6c746e
- Loading branch information
1 parent
cf37732
commit 0ad4fc8
Showing
3 changed files
with
11 additions
and
19 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
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
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