aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-11-25 04:11:52 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-11-25 04:11:52 +0100
commit20de4f3f7291c59a3d22a88f6934b2aaa3f7bb8f (patch)
treea43304efe316960bdab19af7d605ff9c3a12b283 /Samples
parentb25ad7a6e15a7284e40407377a1624747ffe42e5 (diff)
vkvg backend nearly ok, refresh problem
Diffstat (limited to 'Samples')
-rw-r--r--Samples/Directory.Build.props2
-rw-r--r--Samples/PerfTests/Program.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Samples/Directory.Build.props b/Samples/Directory.Build.props
index 34459547..1fa6dd16 100644
--- a/Samples/Directory.Build.props
+++ b/Samples/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<!--<TargetFrameworks>net5</TargetFrameworks>-->
- <OutputType>WinExe</OutputType>
+ <OutputType>Exe</OutputType>
<SolutionDir>$(MSBuildThisFileDirectory)..\</SolutionDir>
<OutputPath>$(SolutionDir)build\$(Configuration)\</OutputPath>
diff --git a/Samples/PerfTests/Program.cs b/Samples/PerfTests/Program.cs
index cbe62738..d7797496 100644
--- a/Samples/PerfTests/Program.cs
+++ b/Samples/PerfTests/Program.cs
@@ -161,9 +161,9 @@ namespace PerfTests
protected override void initBackend()
{
if (screenOutput)
- backend = new Crow.CairoBackend.ImageBackend (WindowHandle, clientRectangle.Width, clientRectangle.Height);
+ backend = new Crow.Backends.DefaultBackend (WindowHandle, clientRectangle.Width, clientRectangle.Height);
else
- backend = new Crow.CairoBackend.ImageBackend (clientRectangle.Width, clientRectangle.Height);
+ backend = new Crow.Backends.DefaultBackend (clientRectangle.Width, clientRectangle.Height);
clipping = Backend.CreateRegion ();
}