We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827bf17 commit e6a1f1cCopy full SHA for e6a1f1c
Graphics/GraphicsTools/src/RenderStateCache.cpp
@@ -877,7 +877,7 @@ struct RenderStateCacheImpl::SerializedPsoCIWrapperBase
877
Uint64 Size = 0;
878
pShader->GetBytecode(&ShaderCI.ByteCode, Size);
879
ShaderCI.ByteCodeSize = static_cast<size_t>(Size);
880
- if (DeviceType == RENDER_DEVICE_TYPE_GL)
+ if (DeviceType == RENDER_DEVICE_TYPE_GL || DeviceType == RENDER_DEVICE_TYPE_GLES)
881
{
882
ShaderCI.Source = static_cast<const char*>(ShaderCI.ByteCode);
883
ShaderCI.ByteCode = nullptr;
0 commit comments