diff options
author | crupest <crupest@outlook.com> | 2020-10-28 18:45:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-28 18:45:27 +0800 |
commit | a09a9645d3c823e3559659dc1ddd213510755820 (patch) | |
tree | 1d20232346bcd3e5e37f52b3d935f1e42dea4a82 /include/cru/win/native/WindowRenderTarget.hpp | |
parent | c1c5a185e4f4c4706e8a641f25add3885203f202 (diff) | |
download | cru-a09a9645d3c823e3559659dc1ddd213510755820.tar.gz cru-a09a9645d3c823e3559659dc1ddd213510755820.tar.bz2 cru-a09a9645d3c823e3559659dc1ddd213510755820.zip |
...
Diffstat (limited to 'include/cru/win/native/WindowRenderTarget.hpp')
-rw-r--r-- | include/cru/win/native/WindowRenderTarget.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cru/win/native/WindowRenderTarget.hpp b/include/cru/win/native/WindowRenderTarget.hpp index 83ac1e03..786a90a6 100644 --- a/include/cru/win/native/WindowRenderTarget.hpp +++ b/include/cru/win/native/WindowRenderTarget.hpp @@ -10,7 +10,7 @@ namespace cru::platform::native::win { class WindowRenderTarget : public Object { public: WindowRenderTarget(graph::win::direct::DirectGraphFactory* factory, - HWND hwnd); + WinNativeWindow* window); CRU_DELETE_COPY(WindowRenderTarget) CRU_DELETE_MOVE(WindowRenderTarget) @@ -39,6 +39,7 @@ class WindowRenderTarget : public Object { void CreateTargetBitmap(); private: + WinNativeWindow* window_; graph::win::direct::DirectGraphFactory* factory_; Microsoft::WRL::ComPtr<ID2D1DeviceContext> d2d1_device_context_; Microsoft::WRL::ComPtr<IDXGISwapChain1> dxgi_swap_chain_; |