diff --git a/2DGAMELIB/2DGAMELIB.csproj b/2DGAMELIB/2DGAMELIB.csproj
index c327328..a05377f 100644
--- a/2DGAMELIB/2DGAMELIB.csproj
+++ b/2DGAMELIB/2DGAMELIB.csproj
@@ -5,12 +5,13 @@
False
True
netstandard2.1
- x86
+ x64
AnyCPU
9.0
True
+ true
@@ -22,5 +23,6 @@
+
\ No newline at end of file
diff --git a/2DGAMELIB/_2DGAMELIB/Med.cs b/2DGAMELIB/_2DGAMELIB/Med.cs
index 3b8480e..88ab7a7 100644
--- a/2DGAMELIB/_2DGAMELIB/Med.cs
+++ b/2DGAMELIB/_2DGAMELIB/Med.cs
@@ -110,11 +110,11 @@ namespace _2DGAMELIB
public Med()
{
- Point dpi = GetDpi();
- dpiX = dpi.X;
- dpiY = dpi.Y;
- DpiX = 96.0 / dpiX;
- DpiY = 96.0 / dpiY;
+ //Point dpi = GetDpi();
+ //dpiX = dpi.X;
+ //dpiY = dpi.Y;
+ DpiX = 1.0; // 96.0 / dpiX;
+ DpiY = 1.0; // 96.0 / dpiY;
}
public void FadeIn(double Rate)
@@ -440,26 +440,27 @@ namespace _2DGAMELIB
Sce.Dispose();
}
- [DllImport("user32.dll")]
- private static extern bool SetProcessDPIAware();
+ //[DllImport("user32.dll")]
+ //private static extern bool SetProcessDPIAware();
- [DllImport("user32.dll")]
- private static extern IntPtr GetWindowDC(IntPtr hwnd);
+ //[DllImport("user32.dll")]
+ //private static extern IntPtr GetWindowDC(IntPtr hwnd);
- [DllImport("gdi32.dll")]
- private static extern int GetDeviceCaps(IntPtr hdc, int index);
+ //[DllImport("gdi32.dll")]
+ //private static extern int GetDeviceCaps(IntPtr hdc, int index);
- [DllImport("user32.dll")]
- private static extern int ReleaseDC(IntPtr hwnd, IntPtr hdc);
+ //[DllImport("user32.dll")]
+ //private static extern int ReleaseDC(IntPtr hwnd, IntPtr hdc);
+ /*
public static Point GetDpi()
{
- SetProcessDPIAware();
- IntPtr windowDC = GetWindowDC(IntPtr.Zero);
- Point result = new Point(GetDeviceCaps(windowDC, 88), GetDeviceCaps(windowDC, 90));
- ReleaseDC(IntPtr.Zero, windowDC);
- return result;
- }
+ //SetProcessDPIAware();
+ //IntPtr windowDC = GetWindowDC(IntPtr.Zero);
+ //Point result = new Point(GetDeviceCaps(windowDC, 88), GetDeviceCaps(windowDC, 90));
+ //ReleaseDC(IntPtr.Zero, windowDC);
+ //return result;
+ }*/
static Med()
{
diff --git a/SlaveMatrix/SlaveMatrix.csproj b/SlaveMatrix/SlaveMatrix.csproj
index d95e29a..9d66a74 100644
--- a/SlaveMatrix/SlaveMatrix.csproj
+++ b/SlaveMatrix/SlaveMatrix.csproj
@@ -5,7 +5,7 @@
False
Exe
netcoreapp3.1
- x86
+ x64
9.0
diff --git a/game_folder/glfw.dll b/game_folder/glfw.dll
index 17330db..86ab39a 100644
Binary files a/game_folder/glfw.dll and b/game_folder/glfw.dll differ