summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-06 18:54:16 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-06 18:54:16 +0000
commit53ea73b5378d5266733eb05fccbd85cf53fc456f (patch)
tree1b7da314272c998a11c8fd0d84d59d1017695e0d
parentUpdated readme (diff)
downloadDiligentCore-53ea73b5378d5266733eb05fccbd85cf53fc456f.tar.gz
DiligentCore-53ea73b5378d5266733eb05fccbd85cf53fc456f.zip
Fixed minor issue in readme
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index acdc9fee..a8030cdc 100644
--- a/README.md
+++ b/README.md
@@ -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);