hack in shader preprocessor for #include (wip)

This commit is contained in:
2021-10-22 20:49:49 +02:00
parent 5d74c3298d
commit dc37ad54ec
2 changed files with 162 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ std::shared_ptr<Shader> ShaderBuilder::finish(void) {
for (auto& stage : _stages) {
if (stage.fail) {
// log error
LOG_ERROR("error in shader stage");
return nullptr;
}
}