From 921df6efca5b385790a2806f8b8844becb36e773 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 20 Mar 2021 12:53:27 +1100 Subject: Add AllocatePixMap method on Surface to create a pixmap surface. --- src/Platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Platform.h b/src/Platform.h index 3afa24c92..5fa139189 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -189,6 +189,7 @@ public: virtual void Init(WindowID wid)=0; virtual void Init(SurfaceID sid, WindowID wid)=0; virtual void InitPixMap(int width, int height, Surface *surface_, WindowID wid)=0; + virtual std::unique_ptr AllocatePixMap(int width, int height)=0; virtual void SetMode(SurfaceMode mode)=0; -- cgit v1.2.3