diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-06 18:54:16 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-06 18:54:16 +0000 |
| commit | 53ea73b5378d5266733eb05fccbd85cf53fc456f (patch) | |
| tree | 1b7da314272c998a11c8fd0d84d59d1017695e0d | |
| parent | Updated readme (diff) | |
| download | DiligentCore-53ea73b5378d5266733eb05fccbd85cf53fc456f.tar.gz DiligentCore-53ea73b5378d5266733eb05fccbd85cf53fc456f.zip | |
Fixed minor issue in readme
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -344,7 +344,7 @@ ShaderCI.Desc.ShaderType = SHADER_TYPE_PIXEL; ShaderCI.SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL; const auto* SearchDirectories = "shaders;shaders\\inc;"; RefCntAutoPtr<IShaderSourceInputStreamFactory> pShaderSourceFactory; -m_pEngineFactory->CreateDefaultShaderSourceStreamFactory(nullptr, &pShaderSourceFactory); +m_pEngineFactory->CreateDefaultShaderSourceStreamFactory(SearchDirectories, &pShaderSourceFactory); ShaderCI.pShaderSourceStreamFactory = pShaderSourceFactory; RefCntAutoPtr<IShader> pShader; m_pDevice->CreateShader(ShaderCI, &pShader); |
