mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Removed byte-component from color
This commit is contained in:
1 parent
558eb3eb5a
commit
fa396127ea
15 files changed
+241
-256
No files matched your search
@@ -46,9 +46,9 @@ namespace RGB.NET.Devices.Corsair
|
||||
_CorsairLedColor color = new _CorsairLedColor
|
||||
{
|
||||
ledId = (int)data.Key,
|
||||
r = data.Value.R,
|
||||
g = data.Value.G,
|
||||
b = data.Value.B
|
||||
r = data.Value.GetR(),
|
||||
g = data.Value.GetG(),
|
||||
b = data.Value.GetB()
|
||||
};
|
||||
|
||||
Marshal.StructureToPtr(color, addPtr, false);
|
||||
|
||||
Reference in new issue
Block a user