fix example

This commit is contained in:
Vinzenz Schroeter 2025-02-16 14:47:03 +01:00
parent c37bfd8332
commit 58b4756ae9
2 changed files with 3 additions and 3 deletions

View file

@ -15,6 +15,6 @@ for (ulong offset = 0; offset < ulong.MaxValue; offset++)
for (ulong y = 0; y < pixels.Height(); y++)
pixels.Set((y + offset) % pixels.Width(), y, true);
connection.Send(Command.BitmapLinearWin(0, 0, pixels));
connection.Send(Command.BitmapLinearWin(0, 0, pixels, CompressionCode.Lzma));
Thread.Sleep(14);
}

View file

@ -25,10 +25,10 @@
<!-- generate C# bindings -->
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Release'" BeforeTargets="PrepareForBuild">
<Exec Command="cargo build -p servicepoint_binding_uniffi --release"/>
<Exec Command="cargo build--manifest-path ../servicepoint-binding-uniffi/Cargo.toml --release"/>
</Target>
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Debug'" BeforeTargets="PrepareForBuild">
<Exec Command="cargo build -p servicepoint_binding_uniffi"/>
<Exec Command="cargo build --manifest-path ../servicepoint-binding-uniffi/Cargo.toml"/>
</Target>
<!-- include native binary in output -->