File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ class ComputerAidedDesign final : public examples::SimpleWindowedApplication, pu
676
676
if (!cpuShader)
677
677
return nullptr ;
678
678
679
- return m_device->createShader ({ cpuShader.get (), nullptr , cache.get () });
679
+ return m_device->createShader ({ cpuShader.get (), nullptr , nullptr , cache.get () });
680
680
};
681
681
shaders[0 ] = loadCompileAndCreateShader (vertexShaderPath, IShader::ESS_VERTEX);
682
682
shaders[1 ] = loadCompileAndCreateShader (fragmentShaderPath, IShader::ESS_FRAGMENT);
@@ -740,7 +740,7 @@ class ComputerAidedDesign final : public examples::SimpleWindowedApplication, pu
740
740
if (!cpuShader)
741
741
return nullptr ;
742
742
743
- return m_device->createShader ({ cpuShader.get (), nullptr , cache.get () });
743
+ return m_device->createShader ({ cpuShader.get (), nullptr , cache.get (), nullptr });
744
744
};
745
745
shaders[0 ] = loadCompileAndCreateShader (vertexShaderPath, IShader::ESS_VERTEX);
746
746
shaders[1 ] = loadCompileAndCreateShader (fragmentShaderPath, IShader::ESS_FRAGMENT);
You can’t perform that action at this time.
0 commit comments