aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-30 19:42:13 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-10-30 19:42:13 +0200
commit08f31af885e04034aa16fa903a65b4ba84efbb2a (patch)
tree6b2610597e1c0ebf9a408a626ffcb19a2ebe3d69
parent882652abf66dadccbec62dfa478547f18b343fc8 (diff)
parent27af27f77251e50c34ebba110c4ffe74214f7959 (diff)
Merge branch 'master' of github.com:jpbruyere/Crow
-rw-r--r--Samples/PerfTests/Program.cs2
-rw-r--r--Samples/common/src/SampleBase.cs3
2 files changed, 3 insertions, 2 deletions
diff --git a/Samples/PerfTests/Program.cs b/Samples/PerfTests/Program.cs
index 8ec252dd..222b7e7a 100644
--- a/Samples/PerfTests/Program.cs
+++ b/Samples/PerfTests/Program.cs
@@ -19,6 +19,8 @@ namespace PerfTests
switch (libraryName)
{
+ case "cairo":
+ return NativeLibrary.Load("cairo-2", assembly, null);
case "glfw3":
return NativeLibrary.Load("glfw", assembly, null);
case "rsvg-2.40":
diff --git a/Samples/common/src/SampleBase.cs b/Samples/common/src/SampleBase.cs
index ce043b37..91b787fb 100644
--- a/Samples/common/src/SampleBase.cs
+++ b/Samples/common/src/SampleBase.cs
@@ -17,7 +17,6 @@ namespace Samples
{
public class SampleBase : Interface
{
-
public SampleBase(IntPtr hWin) : base(800, 600, hWin) { }
public SampleBase() : base(800, 600, true, true) { }
public SampleBase(int width, int height, bool startUIThread, bool createSurface) :
@@ -477,4 +476,4 @@ namespace Samples
}
}
}
-} \ No newline at end of file
+}