aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/direct2d/WindowRenderTarget.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-02-08 15:12:29 +0800
committercrupest <crupest@outlook.com>2024-02-08 15:12:29 +0800
commitf3af6c7e5b46f4209a4981e5d7be217368f40b15 (patch)
treee932747ad91a718abb667a6170b21f1521a04d1e /include/cru/platform/graphics/direct2d/WindowRenderTarget.h
parentbfe23251a54b036abef9241ba0994c9e51db25b2 (diff)
downloadcru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.tar.gz
cru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.tar.bz2
cru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.zip
Get rid of GSL.
Diffstat (limited to 'include/cru/platform/graphics/direct2d/WindowRenderTarget.h')
-rw-r--r--include/cru/platform/graphics/direct2d/WindowRenderTarget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h
index c0251880..f77ce471 100644
--- a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h
+++ b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h
@@ -5,8 +5,7 @@ namespace cru::platform::graphics::direct2d {
// Represents a window render target.
class CRU_WIN_GRAPHICS_DIRECT_API D2DWindowRenderTarget : public Object {
public:
- D2DWindowRenderTarget(gsl::not_null<DirectGraphicsFactory*> factory,
- HWND hwnd);
+ D2DWindowRenderTarget(DirectGraphicsFactory* factory, HWND hwnd);
CRU_DELETE_COPY(D2DWindowRenderTarget)
CRU_DELETE_MOVE(D2DWindowRenderTarget)