mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-22 00:22:18 -05:00
fix some Nvidia issues, improve color profiles, add GPU info to new UI
This commit is contained in:
1 parent
f42a46e53f
commit
899e49c2d9
30 files changed
+1997
-1604
No files matched your search
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using NvAPIWrapper.Native.Display;
|
||||
using NvAPIWrapper.Native.Display;
|
||||
using NvAPIWrapper.Native.Display.Structures;
|
||||
using NvAPIWrapper.Native.Interfaces.Display;
|
||||
using System;
|
||||
|
||||
namespace NvAPIWrapper.Display
|
||||
{
|
||||
@@ -70,7 +70,7 @@ namespace NvAPIWrapper.Display
|
||||
public ColorDataDynamicRange? DynamicRange { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public ColorDataHDRMode HDRMode { get; }
|
||||
public ColorDataHDRMode HDRMode { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public MasteringDisplayColorData MasteringDisplayData { get; }
|
||||
@@ -115,7 +115,7 @@ namespace NvAPIWrapper.Display
|
||||
return false;
|
||||
}
|
||||
|
||||
return Equals((HDRColorData) obj);
|
||||
return Equals((HDRColorData)obj);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
@@ -126,7 +126,7 @@ namespace NvAPIWrapper.Display
|
||||
var hashCode = ColorDepth.GetHashCode();
|
||||
hashCode = (hashCode * 397) ^ ColorFormat.GetHashCode();
|
||||
hashCode = (hashCode * 397) ^ DynamicRange.GetHashCode();
|
||||
hashCode = (hashCode * 397) ^ (int) HDRMode;
|
||||
hashCode = (hashCode * 397) ^ (int)HDRMode;
|
||||
hashCode = (hashCode * 397) ^ MasteringDisplayData.GetHashCode();
|
||||
|
||||
return hashCode;
|
||||
|
||||
Reference in new issue
Block a user