aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/PerfTests/Program.cs
diff options
context:
space:
mode:
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);