summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-11 16:01:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-11 16:01:35 +0000
commit34aaceaea90659af574831fff75bf79c826c8dfd (patch)
tree53974f4c9af3ae8079430f8b1b7f19841f545921 /Graphics/GraphicsEngine
parentReworked automatic mipmap generation in Vulkan backend to support sRGB textur... (diff)
downloadDiligentCore-34aaceaea90659af574831fff75bf79c826c8dfd.tar.gz
DiligentCore-34aaceaea90659af574831fff75bf79c826c8dfd.zip
Fixed Mac/iOS build error
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/RenderDeviceBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/RenderDeviceBase.h b/Graphics/GraphicsEngine/include/RenderDeviceBase.h
index ee713c2e..3c337129 100644
--- a/Graphics/GraphicsEngine/include/RenderDeviceBase.h
+++ b/Graphics/GraphicsEngine/include/RenderDeviceBase.h
@@ -159,7 +159,8 @@ namespace std
TexViewDesc.NumMipLevels,
TexViewDesc.FirstArraySlice,
TexViewDesc.NumArraySlices,
- TexViewDesc.AccessFlags );
+ static_cast<Diligent::Uint32>(TexViewDesc.AccessFlags),
+ static_cast<Diligent::Uint32>(TexViewDesc.Flags));
return Seed;
}
};