Skip to content

Commit

Permalink
Check if the device is type null (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput authored Feb 7, 2024
1 parent 5073999 commit 1b38431
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Runtime/Model/Attributes/MachineAttributeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ private void IncludeOsInformation(IDictionary<string, string> attributes)
private void IncludeGraphicCardInformation(IDictionary<string, string> attributes)
{
// if a graphic card is not available
if (SystemInfo.graphicsDeviceType == null)

if (SystemInfo.graphicsDeviceType == UnityEngine.Rendering.GraphicsDeviceType.Null)
{
return;
}
Expand Down

0 comments on commit 1b38431

Please sign in to comment.