Removed uneeded code
This commit is contained in:
@@ -1300,20 +1300,6 @@ bool RuntimeHost::TryAdvanceFrame()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RuntimeHost::BuildLayerFragmentShaderSource(const std::string& layerId, std::string& fragmentShaderSource, std::string& error)
|
||||
{
|
||||
std::vector<ShaderPassBuildSource> passSources;
|
||||
if (!BuildLayerPassFragmentShaderSources(layerId, passSources, error))
|
||||
return false;
|
||||
if (passSources.empty())
|
||||
{
|
||||
error = "Shader layer produced no compiled passes: " + layerId;
|
||||
return false;
|
||||
}
|
||||
fragmentShaderSource = passSources.front().fragmentShaderSource;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RuntimeHost::BuildLayerPassFragmentShaderSources(const std::string& layerId, std::vector<ShaderPassBuildSource>& passSources, std::string& error)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user