diff options
author | crupest <crupest@outlook.com> | 2020-04-05 23:35:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-05 23:35:15 +0800 |
commit | 41e17e281ba31e9eff612017f5a2dafd847278b0 (patch) | |
tree | f0736679652abbfa1beeef3aa3d7dabfae8da0b9 /include/cru/win/native/window_render_target.hpp | |
parent | e9590859b1aaa1c2bf4714893daf34fbfd4166fd (diff) | |
download | cru-41e17e281ba31e9eff612017f5a2dafd847278b0.tar.gz cru-41e17e281ba31e9eff612017f5a2dafd847278b0.tar.bz2 cru-41e17e281ba31e9eff612017f5a2dafd847278b0.zip |
...
Diffstat (limited to 'include/cru/win/native/window_render_target.hpp')
-rw-r--r-- | include/cru/win/native/window_render_target.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cru/win/native/window_render_target.hpp b/include/cru/win/native/window_render_target.hpp index ab1d68ef..552e87bc 100644 --- a/include/cru/win/native/window_render_target.hpp +++ b/include/cru/win/native/window_render_target.hpp @@ -1,7 +1,5 @@ #pragma once -#include "../win_pre_config.hpp" - -#include "cru/common/base.hpp" +#include "base.hpp" namespace cru::platform::graph::win::direct { class DirectGraphFactory; @@ -24,7 +22,9 @@ class WindowRenderTarget : public Object { return factory_; } - ID2D1DeviceContext* GetD2D1DeviceContext() { return d2d1_device_context_.Get(); } + ID2D1DeviceContext* GetD2D1DeviceContext() { + return d2d1_device_context_.Get(); + } // Resize the underlying buffer. void ResizeBuffer(int width, int height); |