aboutsummaryrefslogtreecommitdiff
path: root/src/amber.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/amber.cc')
-rw-r--r--src/amber.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amber.cc b/src/amber.cc
index 2b9e496..f37e875 100644
--- a/src/amber.cc
+++ b/src/amber.cc
@@ -189,7 +189,7 @@ amber::Result Amber::ExecuteWithShaderData(const amber::Recipe* recipe,
// extractor fails before running the pipeline that will trigger the dumps
// to almost always fail.
for (BufferInfo& buffer_info : opts->extractions) {
- if (buffer_info.buffer_name == "framebuffer") {
+ if (buffer_info.buffer_name == Pipeline::kGeneratedColorBuffer) {
auto* buffer = script->GetBuffer(buffer_info.buffer_name);
if (!buffer)
break;