fix example
This commit is contained in:
parent
c37bfd8332
commit
58b4756ae9
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in a new issue