fix compile errors

This commit is contained in:
arthur.jamet
2021-06-17 20:50:43 +02:00
parent 1cf820bf87
commit 051096a194
43 changed files with 124 additions and 137 deletions
+10 -10
View File
@@ -20,14 +20,14 @@ namespace BBM
}
ShaderComponent::ShaderComponent(WAL::Entity &entity,
const std::string &fragmentFilePath,
const std::string &vertexFilePath,
const std::string &fragmentPath,
const std::string &vertexPath,
const WAL::Callback<WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds> &onFixedUpdate,
bool lonely)
: WAL::Component(entity),
shader(vertexFilePath, fragmentFilePath, lonely),
fragmentFilePath(fragmentFilePath),
vertexFilePath(vertexFilePath),
fragmentFilePath(fragmentPath),
vertexFilePath(vertexPath),
update(onFixedUpdate)
{
}
@@ -43,11 +43,11 @@ namespace BBM
}
ShaderComponentModel::ShaderComponentModel(WAL::Entity &entity,
const std::string &fragmentFilePath,
const std::string &vertexFilePath,
const std::string &fragmentPath,
const std::string &vertexPath,
const WAL::Callback<WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds> &onFixedUpdate,
bool lonely)
: ShaderComponent(entity, fragmentFilePath, vertexFilePath, onFixedUpdate, lonely)
: ShaderComponent(entity, fragmentPath, vertexPath, onFixedUpdate, lonely)
{
}
@@ -60,11 +60,11 @@ namespace BBM
}
ShaderComponentDrawable2D::ShaderComponentDrawable2D(WAL::Entity &entity,
const std::string &fragmentFilePath,
const std::string &vertexFilePath,
const std::string &fragmentPath,
const std::string &vertexPath,
const WAL::Callback<WAL::Entity &, WAL::Wal &, std::chrono::nanoseconds> &onFixedUpdate,
bool lonely)
: ShaderComponent(entity, fragmentFilePath, vertexFilePath, onFixedUpdate, lonely)
: ShaderComponent(entity, fragmentPath, vertexPath, onFixedUpdate, lonely)
{
}
}