summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-12 04:02:54 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-12 04:02:54 +0000
commit2f25e17ab50642f0082a0c046a2cfc43e1fc19ac (patch)
tree8fa050dbffa08938afeaaef0808d296477faedf9 /Graphics/GraphicsEngineOpenGL
parentImplemented PSO compatibility in GL backend (diff)
downloadDiligentCore-2f25e17ab50642f0082a0c046a2cfc43e1fc19ac.tar.gz
DiligentCore-2f25e17ab50642f0082a0c046a2cfc43e1fc19ac.zip
Fixed Mac/iOS build failure
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h2
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;