summaryrefslogtreecommitdiff
path: root/drivers/unix
diff options
context:
space:
mode:
authorMJacred <loesch.benny92@gmx.de>2022-10-11 12:39:41 +0200
committerMJacred <loesch.benny92@gmx.de>2022-10-11 12:39:41 +0200
commitde768afbdcf9dd6a588ac975bc56e3fd755091c2 (patch)
tree94726f9b9f2b696f70878e94da08a5407c78776d /drivers/unix
parent63c0dc690e06731224e88911ed16d1b798b681b5 (diff)
Fetch video adapter driver name and version from OS on Linux/*BSD and Windows
Diffstat (limited to 'drivers/unix')
-rw-r--r--drivers/unix/os_unix.cpp4
-rw-r--r--drivers/unix/os_unix.h2
2 files changed, 6 insertions, 0 deletions
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<String> OS_Unix::get_video_adapter_driver_info() const {
+ return Vector<String>();
+}
+
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<String> 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.