Respect integrated GPU preference in Windows Settings

This commit is contained in:
Alvin Wong
2024-07-06 05:21:43 +08:00
parent 97b8ad1af0
commit 4091abd727
4 changed files with 53 additions and 2 deletions

View File

@ -137,6 +137,7 @@ public:
int get_display_driver_id() const { return _display_driver_id; }
virtual Vector<String> get_video_adapter_driver_info() const = 0;
virtual bool get_user_prefers_integrated_gpu() const { return false; }
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;