diff options
author | MinusKube <minuskube@gmail.com> | 2022-08-22 00:16:56 +0200 |
---|---|---|
committer | MinusKube <minuskube@gmail.com> | 2022-09-04 22:48:54 +0200 |
commit | f5a808192b263b7227b448492cc65d9145e18afd (patch) | |
tree | 6e7cd72df7c8b08ecbfdeb9af2ff1d72090c8580 /servers/rendering/dummy | |
parent | e7a0a97c0bc5d86644e62d537503e3b05313a01c (diff) |
Prevent windows from having a size greater than device limit
Diffstat (limited to 'servers/rendering/dummy')
-rw-r--r-- | servers/rendering/dummy/storage/utilities.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/dummy/storage/utilities.h b/servers/rendering/dummy/storage/utilities.h index cb7b2a2b63..a42ab0d814 100644 --- a/servers/rendering/dummy/storage/utilities.h +++ b/servers/rendering/dummy/storage/utilities.h @@ -109,6 +109,8 @@ public: virtual String get_video_adapter_vendor() const override { return String(); } virtual RenderingDevice::DeviceType get_video_adapter_type() const override { return RenderingDevice::DeviceType::DEVICE_TYPE_OTHER; } virtual String get_video_adapter_api_version() const override { return String(); } + + virtual Size2i get_maximum_viewport_size() const override { return Size2i(); }; }; } // namespace RendererDummy |