mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Changes required by recent NVIDIALibrary changes
This commit is contained in:
parent
21d173b6ca
commit
24efd1a8d8
@ -918,7 +918,7 @@ namespace DisplayMagicianShared
|
|||||||
// Set some basics about the screen
|
// Set some basics about the screen
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
uint displayId = _nvidiaDisplayConfig.MosaicConfig.MosaicGridTopos[i].Displays[0].DisplayId;
|
string displayId = _nvidiaDisplayConfig.MosaicConfig.MosaicGridTopos[i].Displays[0].DisplayId.ToString();
|
||||||
string windowsDisplayName = _nvidiaDisplayConfig.DisplayNames[displayId];
|
string windowsDisplayName = _nvidiaDisplayConfig.DisplayNames[displayId];
|
||||||
List<uint> sourceIndexes = _windowsDisplayConfig.DisplaySources[windowsDisplayName];
|
List<uint> sourceIndexes = _windowsDisplayConfig.DisplaySources[windowsDisplayName];
|
||||||
for (int x = 0; x < _windowsDisplayConfig.DisplayConfigModes.Length; x++)
|
for (int x = 0; x < _windowsDisplayConfig.DisplayConfigModes.Length; x++)
|
||||||
@ -982,7 +982,7 @@ namespace DisplayMagicianShared
|
|||||||
// Set some basics about the screen
|
// Set some basics about the screen
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
uint displayId = _nvidiaDisplayConfig.MosaicConfig.MosaicGridTopos[i].Displays[0].DisplayId;
|
string displayId = _nvidiaDisplayConfig.MosaicConfig.MosaicGridTopos[i].Displays[0].DisplayId.ToString();
|
||||||
string windowsDisplayName = _nvidiaDisplayConfig.DisplayNames[displayId];
|
string windowsDisplayName = _nvidiaDisplayConfig.DisplayNames[displayId];
|
||||||
List<uint> sourceIndexes = _windowsDisplayConfig.DisplaySources[windowsDisplayName];
|
List<uint> sourceIndexes = _windowsDisplayConfig.DisplaySources[windowsDisplayName];
|
||||||
for (int x = 0; x < _windowsDisplayConfig.DisplayConfigModes.Length; x++)
|
for (int x = 0; x < _windowsDisplayConfig.DisplayConfigModes.Length; x++)
|
||||||
|
Loading…
Reference in New Issue
Block a user