From 52837cfc42dcc7952de38b490dc0ebbb56ca00bf Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 19 Feb 2025 09:58:50 +1100 Subject: Use ComPtr for render targets of SurfaceD2D. Add comments about different types of Surface. --- src/Platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Platform.h b/src/Platform.h index 585ddd14c..77464945e 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -194,8 +194,8 @@ public: virtual ~Surface() noexcept = default; static std::unique_ptr Allocate(Scintilla::Technology technology); - virtual void Init(WindowID wid)=0; - virtual void Init(SurfaceID sid, WindowID wid)=0; + virtual void Init(WindowID wid)=0; // For measuring text + virtual void Init(SurfaceID sid, WindowID wid)=0; // For drawing virtual std::unique_ptr AllocatePixMap(int width, int height)=0; virtual void SetMode(SurfaceMode mode)=0; -- cgit v1.2.3