From 996412ebcbe08c1dd3db3ecb53d24a4edcd20041 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 22 Apr 2018 11:48:12 +0300 Subject: [PATCH] Pass the file name from Resources to ProgramCompiler --- source/resources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/resources.cpp b/source/resources.cpp index c8e61ef8..b8eec774 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -141,7 +141,7 @@ Program *Resources::create_program(const string &name) if(RefPtr io = open_from_sources(name)) { ProgramCompiler compiler; - compiler.compile(*io, this); + compiler.compile(*io, this, name); RefPtr program = new Program; compiler.add_shaders(*program); program->link(); -- 2.45.2