summaryrefslogtreecommitdiffstats
path: root/TextureLoader/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-06-28 16:18:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-06-28 16:18:57 +0000
commitb84bff8313853e965d78a1c954c9f360a2ce2968 (patch)
tree063e02cc1e2499809f6038d7baf00392e7e14eba /TextureLoader/interface
parentAdded comment to VERSION file in libtiff (diff)
downloadDiligentTools-b84bff8313853e965d78a1c954c9f360a2ce2968.tar.gz
DiligentTools-b84bff8313853e965d78a1c954c9f360a2ce2968.zip
Updated ImageDesc struct to use VALUE_TYPE ComponentType instead of BitsPerPixel
Diffstat (limited to 'TextureLoader/interface')
-rw-r--r--TextureLoader/interface/Image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TextureLoader/interface/Image.h b/TextureLoader/interface/Image.h
index 7b88c83..645ae36 100644
--- a/TextureLoader/interface/Image.h
+++ b/TextureLoader/interface/Image.h
@@ -72,8 +72,8 @@ struct ImageDesc
/// Image height in pixels
Uint32 Height = 0;
- /// Bits per pixel
- Uint32 BitsPerPixel = 0;
+ /// Component type
+ VALUE_TYPE ComponentType = VT_UNDEFINED;
/// Number of color components
Uint32 NumComponents = 0;