From 6ef4054f8a8aea4ec61481057fa7e16aaecde6d7 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 10 Mar 2021 10:58:15 -0800 Subject: Swapchain resize and rename to `IDevice` (#1741) * Swapchain resize * Fix. --- tools/platform/window.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/platform/window.h') diff --git a/tools/platform/window.h b/tools/platform/window.h index c776c3ffa..e4a867f0b 100644 --- a/tools/platform/window.h +++ b/tools/platform/window.h @@ -146,11 +146,17 @@ struct Rect int width, height; }; +enum class WindowStyle +{ + Default, FixedSize, +}; + struct WindowDesc { char const* title = nullptr; int width = 0; int height = 0; + WindowStyle style = WindowStyle::Default; }; class Window : public Slang::RefObject -- cgit v1.2.3