[Windows] Try reading GPU driver information directly from registry.

This commit is contained in:
Pāvels Nadtočajevs 2025-08-06 08:01:05 +03:00
parent c81fd6c512
commit 9f8626ccaa
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
2 changed files with 94 additions and 11 deletions

View file

@ -145,6 +145,9 @@ class OS_Windows : public OS {
HashMap<String, int> encodings;
void _init_encodings();
Vector<String> _get_video_adapter_driver_info_reg(const String &p_name) const;
Vector<String> _get_video_adapter_driver_info_wmi(const String &p_name) const;
// functions used by main to initialize/deinitialize the OS
protected:
virtual void initialize() override;