summaryrefslogtreecommitdiff
path: root/servers/rendering/dummy/rasterizer_storage_dummy.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-31 15:39:46 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-05-03 01:18:35 +0200
commit31194f5b1c84638267958c8efa9212f362e57ae0 (patch)
tree5311467eadbbf00c1432910df46a1cc738539472 /servers/rendering/dummy/rasterizer_storage_dummy.h
parent87622861106b4bb06040a603060bedc2835648ba (diff)
Add `get_video_adapter_api_version()` to RenderingServer
This method can be used to get the graphics API version currently in use (such as Vulkan). It can be used by projects for troubleshooting or statistical purposes.
Diffstat (limited to 'servers/rendering/dummy/rasterizer_storage_dummy.h')
-rw-r--r--servers/rendering/dummy/rasterizer_storage_dummy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/dummy/rasterizer_storage_dummy.h b/servers/rendering/dummy/rasterizer_storage_dummy.h
index ac6085cdec..596960786a 100644
--- a/servers/rendering/dummy/rasterizer_storage_dummy.h
+++ b/servers/rendering/dummy/rasterizer_storage_dummy.h
@@ -128,6 +128,7 @@ public:
String get_video_adapter_name() const override { return String(); }
String get_video_adapter_vendor() const override { return String(); }
RenderingDevice::DeviceType get_video_adapter_type() const override { return RenderingDevice::DeviceType::DEVICE_TYPE_OTHER; }
+ String get_video_adapter_api_version() const override { return String(); }
static RendererStorage *base_singleton;