diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-12 04:02:54 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-12 04:02:54 +0000 |
| commit | 2f25e17ab50642f0082a0c046a2cfc43e1fc19ac (patch) | |
| tree | 8fa050dbffa08938afeaaef0808d296477faedf9 /Graphics/GraphicsEngineOpenGL | |
| parent | Implemented PSO compatibility in GL backend (diff) | |
| download | DiligentCore-2f25e17ab50642f0082a0c046a2cfc43e1fc19ac.tar.gz DiligentCore-2f25e17ab50642f0082a0c046a2cfc43e1fc19ac.zip | |
Fixed Mac/iOS build failure
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h index 3e52d3e3..3989f4cd 100644 --- a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h +++ b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h @@ -71,7 +71,7 @@ namespace Diligent size_t GetHash()const { - return ComputeHash(VarType, pResources.size()); + return ComputeHash(static_cast<Int32>(VarType), pResources.size()); } String Name; |
