diff options
| author | Yong He <yonghe@outlook.com> | 2021-03-10 10:58:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 10:58:15 -0800 |
| commit | 6ef4054f8a8aea4ec61481057fa7e16aaecde6d7 (patch) | |
| tree | 66edcae112faff7276c2595865463698bde277fd /tools/platform/gui.h | |
| parent | 2765861cdc104e6104a31cf9e20800b8d1dfae26 (diff) | |
Swapchain resize and rename to `IDevice` (#1741)
* Swapchain resize
* Fix.
Diffstat (limited to 'tools/platform/gui.h')
| -rw-r--r-- | tools/platform/gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/platform/gui.h b/tools/platform/gui.h index d22da3299..970f3a4e8 100644 --- a/tools/platform/gui.h +++ b/tools/platform/gui.h @@ -13,7 +13,7 @@ namespace platform { struct GUI : Slang::RefObject { GUI(Window* window, - gfx::IRenderer* renderer, + gfx::IDevice* device, gfx::ICommandQueue* queue, gfx::IFramebufferLayout* framebufferLayout); ~GUI(); @@ -22,7 +22,7 @@ struct GUI : Slang::RefObject void endFrame(gfx::IFramebuffer* framebuffer); private: - Slang::ComPtr<gfx::IRenderer> renderer; + Slang::ComPtr<gfx::IDevice> device; Slang::ComPtr<gfx::ICommandQueue> queue; Slang::ComPtr<gfx::IRenderPassLayout> renderPass; Slang::ComPtr<gfx::IPipelineState> pipelineState; |
