Skip to content

Commit 1b38431

Browse files
authored
Check if the device is type null (#206)
1 parent 5073999 commit 1b38431

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Runtime/Model/Attributes/MachineAttributeProvider.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ private void IncludeOsInformation(IDictionary<string, string> attributes)
8383
private void IncludeGraphicCardInformation(IDictionary<string, string> attributes)
8484
{
8585
// if a graphic card is not available
86-
if (SystemInfo.graphicsDeviceType == null)
87-
86+
if (SystemInfo.graphicsDeviceType == UnityEngine.Rendering.GraphicsDeviceType.Null)
8887
{
8988
return;
9089
}

0 commit comments

Comments
 (0)