diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-10-28 03:32:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 03:32:59 +0200 |
commit | 9ff3a43a329182ba2fad34263297052c70a4524e (patch) | |
tree | a2815c239af2b4f28611eb6055adf5fa92762c6b /doc | |
parent | 6a61d22ce7373cdc45a0f2eae84d5742a3c9be73 (diff) | |
parent | e7091d07cdd15f9ef3c0083a02532efa2866298c (diff) |
Merge pull request #67957 from zCubed3/fix_headless_crash
Fix `OS.get_video_adapter_driver_info` crash on headless godot
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/OS.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 3aa26cbb21..c8491b3a03 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -451,7 +451,7 @@ Returns the video adapter driver name and version for the user's currently active graphics card. The first element holds the driver name, such as [code]nvidia[/code], [code]amdgpu[/code], etc. The second element holds the driver version. For e.g. the [code]nvidia[/code] driver on a Linux/BSD platform, the version is in the format [code]510.85.02[/code]. For Windows, the driver's format is [code]31.0.15.1659[/code]. - [b]Note:[/b] This method is only supported on the platforms Linux/BSD and Windows. It returns an empty array on other platforms. + [b]Note:[/b] This method is only supported on the platforms Linux/BSD and Windows when not running in headless mode. It returns an empty array on other platforms. </description> </method> <method name="has_environment" qualifiers="const"> |