From de768afbdcf9dd6a588ac975bc56e3fd755091c2 Mon Sep 17 00:00:00 2001 From: MJacred Date: Tue, 11 Oct 2022 12:39:41 +0200 Subject: Fetch video adapter driver name and version from OS on Linux/*BSD and Windows --- drivers/unix/os_unix.cpp | 4 ++++ drivers/unix/os_unix.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'drivers/unix') diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index ab298a0e49..92ddeb5582 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -154,6 +154,10 @@ void OS_Unix::finalize_core() { NetSocketPosix::cleanup(); } +Vector OS_Unix::get_video_adapter_driver_info() const { + return Vector(); +} + String OS_Unix::get_stdin_string(bool p_block) { if (p_block) { char buff[1024]; diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 8ef650f28b..aa42ed0b27 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -51,6 +51,8 @@ protected: public: OS_Unix(); + virtual Vector get_video_adapter_driver_info() const override; + virtual String get_stdin_string(bool p_block) override; virtual Error get_entropy(uint8_t *r_buffer, int p_bytes) override; // Should return cryptographycally-safe random bytes. -- cgit v1.2.3