summaryrefslogtreecommitdiff
path: root/core/os
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 /core/os
parent63c0dc690e06731224e88911ed16d1b798b681b5 (diff)
Fetch video adapter driver name and version from OS on Linux/*BSD and Windows
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 6944d29eeb..c8821d07bf 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -118,6 +118,8 @@ public:
String get_current_rendering_driver_name() const { return _current_rendering_driver_name; }
int get_display_driver_id() const { return _display_driver_id; }
+ virtual Vector<String> get_video_adapter_driver_info() const = 0;
+
void print_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, bool p_editor_notify = false, Logger::ErrorType p_type = Logger::ERR_ERROR);
void print(const char *p_format, ...) _PRINTF_FORMAT_ATTRIBUTE_2_3;
void print_rich(const char *p_format, ...) _PRINTF_FORMAT_ATTRIBUTE_2_3;