summaryrefslogtreecommitdiff
path: root/drmhwctwo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drmhwctwo.cpp')
-rw-r--r--drmhwctwo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp
index 2da5392..52a899c 100644
--- a/drmhwctwo.cpp
+++ b/drmhwctwo.cpp
@@ -692,7 +692,7 @@ HWC2::Error DrmHwcTwo::HwcDisplay::ValidateDisplay(uint32_t *num_types,
++*num_types;
break;
default:
- layer.set_validated_type(layer.sf_type());
+ layer.set_validated_type(HWC2::Composition::Client);
break;
}
}