diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-11 16:01:35 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-11 16:01:35 +0000 |
| commit | 34aaceaea90659af574831fff75bf79c826c8dfd (patch) | |
| tree | 53974f4c9af3ae8079430f8b1b7f19841f545921 /Graphics/GraphicsEngine | |
| parent | Reworked automatic mipmap generation in Vulkan backend to support sRGB textur... (diff) | |
| download | DiligentCore-34aaceaea90659af574831fff75bf79c826c8dfd.tar.gz DiligentCore-34aaceaea90659af574831fff75bf79c826c8dfd.zip | |
Fixed Mac/iOS build error
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/RenderDeviceBase.h | 3 |
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; } }; |
