From 53ea73b5378d5266733eb05fccbd85cf53fc456f Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 6 Apr 2019 11:54:16 -0700 Subject: Fixed minor issue in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 pShaderSourceFactory; -m_pEngineFactory->CreateDefaultShaderSourceStreamFactory(nullptr, &pShaderSourceFactory); +m_pEngineFactory->CreateDefaultShaderSourceStreamFactory(SearchDirectories, &pShaderSourceFactory); ShaderCI.pShaderSourceStreamFactory = pShaderSourceFactory; RefCntAutoPtr pShader; m_pDevice->CreateShader(ShaderCI, &pShader); -- cgit v1.2.3