From ffa791c41f85d18c5f946375431aa575d569a0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Fri, 17 May 2024 09:55:42 +0200 Subject: [PATCH] Add context getter to RenderingDevice --- servers/rendering/rendering_device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/rendering/rendering_device.h b/servers/rendering/rendering_device.h index 020be6be18a..42773fc3471 100644 --- a/servers/rendering/rendering_device.h +++ b/servers/rendering/rendering_device.h @@ -797,6 +797,8 @@ private: #endif public: + RenderingContextDriver *get_context_driver() const { return context; } + const RDD::Capabilities &get_device_capabilities() const { return driver->get_capabilities(); } bool has_feature(const Features p_feature) const;