wip move to new uniffi language binding
This commit is contained in:
parent
f7a5d8f823
commit
53cbdd8440
30 changed files with 211 additions and 187 deletions
|
@ -36,7 +36,7 @@ internal sealed class ClientScreenServerConnection
|
|||
|
||||
private Package BuildNextPackage(Bitmap pixels, GamePixelGrid gamePixelGrid)
|
||||
{
|
||||
var pixelsData = pixels.Data;
|
||||
var pixelsData = pixels.CopyRaw();
|
||||
var nextPixels = _bufferPool.Rent(pixelsData.Length);
|
||||
pixelsData.CopyTo(nextPixels.Memory.Span);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue