From 9b7a007c31072bc9aebd1134aa4f1bfd28a4c541 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 24 Feb 2021 15:43:43 -0800 Subject: Explicit swapchain interface in `gfx`. (#1726) * Explicit swapchain interface in `gfx`. * Correctly return nullptr when `IRenderer` creation failed. * Fix crashes on CUDA tests. * Cleanups. --- tools/graphics-app-framework/gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/graphics-app-framework/gui.h') 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(); -- cgit v1.2.3