From f5a808192b263b7227b448492cc65d9145e18afd Mon Sep 17 00:00:00 2001 From: MinusKube Date: Mon, 22 Aug 2022 00:16:56 +0200 Subject: Prevent windows from having a size greater than device limit --- servers/rendering/storage/utilities.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/rendering/storage') diff --git a/servers/rendering/storage/utilities.h b/servers/rendering/storage/utilities.h index d240d58917..23a782c14a 100644 --- a/servers/rendering/storage/utilities.h +++ b/servers/rendering/storage/utilities.h @@ -181,6 +181,8 @@ public: virtual String get_video_adapter_vendor() const = 0; virtual RenderingDevice::DeviceType get_video_adapter_type() const = 0; virtual String get_video_adapter_api_version() const = 0; + + virtual Size2i get_maximum_viewport_size() const = 0; }; #endif // RENDERER_UTILITIES_H -- cgit v1.2.3