summaryrefslogtreecommitdiff
path: root/tools/graphics-app-framework/gui.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-02-24 15:43:43 -0800
committerGitHub <noreply@github.com>2021-02-24 15:43:43 -0800
commit9b7a007c31072bc9aebd1134aa4f1bfd28a4c541 (patch)
treeb71a48eb30b3b09ab4e77e40dc1c68ecd854ef82 /tools/graphics-app-framework/gui.h
parentd66b30729029bdb43892e05c9c80fd56ac95a24f (diff)
Explicit swapchain interface in `gfx`. (#1726)
* Explicit swapchain interface in `gfx`. * Correctly return nullptr when `IRenderer` creation failed. * Fix crashes on CUDA tests. * Cleanups.
Diffstat (limited to 'tools/graphics-app-framework/gui.h')
-rw-r--r--tools/graphics-app-framework/gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/graphics-app-framework/gui.h b/tools/graphics-app-framework/gui.h
index 3ef2b0ba5..22b4bf2f5 100644
--- a/tools/graphics-app-framework/gui.h
+++ b/tools/graphics-app-framework/gui.h
@@ -12,7 +12,7 @@ namespace gfx {
struct GUI : Slang::RefObject
{
- GUI(Window* window, IRenderer* renderer);
+ GUI(Window* window, IRenderer* renderer, IFramebufferLayout* framebufferLayout);
~GUI();
void beginFrame();