From 57b27983564952bee0100dcce350361aa32c9494 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 26 Aug 2018 17:09:03 -0700 Subject: Updated core & tools (implemented raw buffers plus other improvements) --- Tests/TestApp/src/TestTexturing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/TestApp/src/TestTexturing.cpp') diff --git a/Tests/TestApp/src/TestTexturing.cpp b/Tests/TestApp/src/TestTexturing.cpp index ba89b13..fdd79b8 100644 --- a/Tests/TestApp/src/TestTexturing.cpp +++ b/Tests/TestApp/src/TestTexturing.cpp @@ -49,7 +49,7 @@ void TestTexturing::GenerateTextureData(IRenderDevice *pRenderDevice, std::vecto SubResouces.resize(TexDesc.MipLevels); auto PixelFormatAttribs = pRenderDevice->GetTextureFormatInfoExt(TexDesc.Format); - auto PixelSize = PixelFormatAttribs.ComponentSize * PixelFormatAttribs.NumComponents; + auto PixelSize = Uint32{PixelFormatAttribs.ComponentSize} * Uint32{PixelFormatAttribs.NumComponents}; for(Uint32 Level = 0; Level < TexDesc.MipLevels; ++Level) { -- cgit v1.2.3