diff options
Diffstat (limited to 'src/vkscript/parser.cc')
-rw-r--r-- | src/vkscript/parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vkscript/parser.cc b/src/vkscript/parser.cc index 79875c7..b2f0af2 100644 --- a/src/vkscript/parser.cc +++ b/src/vkscript/parser.cc @@ -201,7 +201,7 @@ Result Parser::ProcessRequireBlock(const SectionParser::Section& section) { std::string str = token->AsString(); if (IsKnownFeature(str)) { script_->AddRequiredFeature(str); - } else if (str == "framebuffer") { + } else if (str == Pipeline::kGeneratedColorBuffer) { token = tokenizer.NextToken(); if (!token->IsString()) return Result(make_error(tokenizer, "Missing framebuffer format")); |