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++)
|
for (ulong y = 0; y < pixels.Height(); y++)
|
||||||
pixels.Set((y + offset) % pixels.Width(), y, true);
|
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);
|
Thread.Sleep(14);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,10 +25,10 @@
|
||||||
|
|
||||||
<!-- generate C# bindings -->
|
<!-- generate C# bindings -->
|
||||||
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Release'" BeforeTargets="PrepareForBuild">
|
<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>
|
||||||
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Debug'" BeforeTargets="PrepareForBuild">
|
<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>
|
</Target>
|
||||||
|
|
||||||
<!-- include native binary in output -->
|
<!-- include native binary in output -->
|
||||||
|
|
Loading…
Reference in a new issue