diff options
Diffstat (limited to 'Samples')
| -rw-r--r-- | Samples/Directory.Build.props | 2 | ||||
| -rw-r--r-- | Samples/PerfTests/Program.cs | 4 |
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 (); } |