diff options
Diffstat (limited to 'include/cru/osx/graphics/quartz/Image.hpp')
-rw-r--r-- | include/cru/osx/graphics/quartz/Image.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/osx/graphics/quartz/Image.hpp b/include/cru/osx/graphics/quartz/Image.hpp index 66d7dca0..16b1ca2c 100644 --- a/include/cru/osx/graphics/quartz/Image.hpp +++ b/include/cru/osx/graphics/quartz/Image.hpp @@ -17,6 +17,8 @@ class QuartzImage : public OsxQuartzResource, public virtual IImage { ~QuartzImage() override; public: + CGImageRef GetCGImage() const { return image_; } + private: CGImageRef image_; bool auto_release_ = false; |