From e59fcf7613a36221189c6d247cc0413e75107466 Mon Sep 17 00:00:00 2001 From: madsbuvi Date: Sat, 16 Jan 2021 17:30:59 +0100 Subject: [PATCH] Unit test fix --- components/shader/shadermanager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/shader/shadermanager.cpp b/components/shader/shadermanager.cpp index c76e3efed..96ac2e363 100644 --- a/components/shader/shadermanager.cpp +++ b/components/shader/shadermanager.cpp @@ -394,8 +394,6 @@ namespace Shader if (shaderIt == mShaders.end()) { std::string shaderSource = getTemplateSource(templateName); - if (shaderSource.empty()) - return nullptr; if (!parseDefines(shaderSource, defines, mGlobalDefines, templateName) || !parseFors(shaderSource, templateName)) {