summaryrefslogtreecommitdiff
path: root/servers/rendering_server.h
diff options
context:
space:
mode:
authorMinusKube <minuskube@gmail.com>2022-08-22 00:16:56 +0200
committerMinusKube <minuskube@gmail.com>2022-09-04 22:48:54 +0200
commitf5a808192b263b7227b448492cc65d9145e18afd (patch)
tree6e7cd72df7c8b08ecbfdeb9af2ff1d72090c8580 /servers/rendering_server.h
parente7a0a97c0bc5d86644e62d537503e3b05313a01c (diff)
Prevent windows from having a size greater than device limit
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r--servers/rendering_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h
index 67ba407775..adff37eeef 100644
--- a/servers/rendering_server.h
+++ b/servers/rendering_server.h
@@ -1568,6 +1568,8 @@ public:
virtual void set_print_gpu_profile(bool p_enable) = 0;
+ virtual Size2i get_maximum_viewport_size() const = 0;
+
RenderingDevice *get_rendering_device() const;
RenderingDevice *create_local_rendering_device() const;