diff options
-rw-r--r-- | include/drmhwctwo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drmhwctwo.h b/include/drmhwctwo.h index 62ee85a..5f9f6c5 100644 --- a/include/drmhwctwo.h +++ b/include/drmhwctwo.h @@ -40,7 +40,6 @@ class DrmHwcTwo : public hwc2_device_t { HWC2::Error Init(); - private: class HwcLayer { public: HWC2::Composition sf_type() const { @@ -299,6 +298,7 @@ class DrmHwcTwo : public hwc2_device_t { DrmDevice *drm_; }; + private: static DrmHwcTwo *toDrmHwcTwo(hwc2_device_t *dev) { return static_cast<DrmHwcTwo *>(dev); } |