mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
~ better fix for #103
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
cf2e31a606
commit
e51734e4f9
@ -265,7 +265,7 @@ namespace WallpaperEngine::Render::Shaders
|
||||
// extract value between quotes
|
||||
filename = this->extractQuotedValue (it); BREAK_IF_ERROR
|
||||
|
||||
if (this->m_content.find (" main(") == std::string::npos && this->m_content.find (" main (") == std::string::npos)
|
||||
if (this->m_recursive)
|
||||
{
|
||||
this->m_compiledContent += "// begin of include from file " + filename + "\r\n";
|
||||
this->m_compiledContent += this->lookupShaderFile (filename);
|
||||
|
Loading…
Reference in New Issue
Block a user