diff options
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp index 8427ea78..d894d432 100644 --- a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp +++ b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp @@ -51,7 +51,7 @@ namespace Diligent if(FmtAttribs.NumComponents >= 4) GlFmt[pos++] = 'a'; VERIFY_EXPR(FmtAttribs.NumComponents <= 4); - auto ComponentSize = FmtAttribs.ComponentSize * 8; + auto ComponentSize = Uint32{FmtAttribs.ComponentSize} * 8; int pow10 = 1; while(ComponentSize / (10*pow10) != 0) pow10 *= 10; |
