mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
adding missing function implementation
This commit is contained in:
@@ -214,6 +214,7 @@ namespace mlx
|
||||
return;
|
||||
if(!m_staging_buffer.has_value())
|
||||
OpenCPUBuffer();
|
||||
// Needs to reverse bytes order because why not
|
||||
unsigned char bytes[4];
|
||||
bytes[0] = (color >> 24) & 0xFF;
|
||||
bytes[1] = (color >> 16) & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user