aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/PerfTests/Program.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-11-26 13:18:02 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-11-26 13:18:02 +0100
commita3d4977a3cb6d7e4ce4f9627842398e6ab25d9a8 (patch)
tree7a8e786c3f7e0990196b8fef34bcc3fefe4bf29b /Samples/PerfTests/Program.cs
parent4cc76903d5556886f39dc35400f7ba5e9f732eb7 (diff)
skia backend wip, glfw win created in backends if null, wip
Diffstat (limited to 'Samples/PerfTests/Program.cs')
-rw-r--r--Samples/PerfTests/Program.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/Samples/PerfTests/Program.cs b/Samples/PerfTests/Program.cs
index d7797496..b4ec4bb1 100644
--- a/Samples/PerfTests/Program.cs
+++ b/Samples/PerfTests/Program.cs
@@ -141,10 +141,7 @@ namespace PerfTests
writer.WriteLine ("Path;MinEllapsed;MaxEllapsed;MeanEllapsed;MedianEllapsed;sigmaEllapsed;MinMem;MaxMem;MeanMem;MedianMem;sigmaMem;MinAlloc;MaxAlloc;MeanAlloc;MedianAlloc;sigmaAlloc");
}
- if (screenOutput)
- initSurface ();
- else
- initBackend ();
+ initBackend ();
initDictionaries ();
loadStyling ();
@@ -161,7 +158,7 @@ namespace PerfTests
protected override void initBackend()
{
if (screenOutput)
- backend = new Crow.Backends.DefaultBackend (WindowHandle, clientRectangle.Width, clientRectangle.Height);
+ backend = new Crow.Backends.DefaultBackend (ref hWin, out ownWindow, clientRectangle.Width, clientRectangle.Height);
else
backend = new Crow.Backends.DefaultBackend (clientRectangle.Width, clientRectangle.Height);