diff --git a/sources/Component/Shaders/ShaderComponent.cpp b/sources/Component/Shaders/ShaderComponent.cpp index ec5fb7ab..26847905 100644 --- a/sources/Component/Shaders/ShaderComponent.cpp +++ b/sources/Component/Shaders/ShaderComponent.cpp @@ -25,7 +25,7 @@ namespace BBM const WAL::Callback &onFixedUpdate, bool lonely) : WAL::Component(entity), - shader(vertexFilePath, fragmentFilePath, lonely), + shader(vertexPath, fragmentPath, lonely), fragmentFilePath(fragmentPath), vertexFilePath(vertexPath), update(onFixedUpdate)