Add context getter to RenderingDevice

This commit is contained in:
Pedro J. Estébanez 2024-05-17 09:55:42 +02:00
parent 5708a3a02e
commit ffa791c41f
1 changed files with 2 additions and 0 deletions

View File

@ -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;