Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary DLL export attributes. #14

Open
wants to merge 1 commit into
base: godot-static
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ if env["platform"] == "macos":
if env["platform"] == "windows":
env.Append(CPPDEFINES=[("ANGLE_IS_WIN", 1)])
env.Append(CPPDEFINES=[("ANGLE_WINDOWS_NO_FUTEX", 1)])
env.Append(CPPDEFINES=[("ANGLE_PLATFORM_EXPORT",'""')])
env.Append(
CPPDEFINES=[
(
Expand Down
29 changes: 25 additions & 4 deletions godot-patches/patch_mingw_build.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/angle/include/platform/PlatformMethods.h b/angle/include/platform/PlatformMethods.h
index a3233a2cd5..b4e684842c 100644
index a3233a2cd..b4e684842 100644
--- a/angle/include/platform/PlatformMethods.h
+++ b/angle/include/platform/PlatformMethods.h
@@ -313,7 +313,7 @@ extern "C" {
Expand All @@ -21,7 +21,7 @@ index a3233a2cd5..b4e684842c 100644

namespace angle
diff --git a/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp b/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp
index 0e64f78d53..17ed63e66c 100644
index 0e64f78d5..17ed63e66 100644
--- a/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp
+++ b/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp
@@ -38,14 +38,22 @@ bool CompositorNativeWindow11::getClientRect(LPRECT rect) const
Expand All @@ -48,10 +48,10 @@ index 0e64f78d53..17ed63e66c 100644
{
return false;
diff --git a/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.h b/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.h
index aec331a76c..be98814486 100644
index aec331a76..4fdf16e1d 100644
--- a/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.h
+++ b/angle/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.h
@@ -12,6 +12,143 @@
@@ -12,6 +12,164 @@

#include "libANGLE/renderer/d3d/d3d11/NativeWindow11.h"

Expand Down Expand Up @@ -190,6 +190,27 @@ index aec331a76c..be98814486 100644
+ DirectXPixelFormat_SamplerFeedbackMipRegionUsedOpaque = 190
+};
+#endif
+
+#ifndef VirtualKeyModifiers
+enum VirtualKeyModifiers {
+ VirtualKeyModifiers_None = 0x0,
+};
+#endif
+
+#ifndef VirtualKey
+enum VirtualKey {
+ VirtualKey_None = 0,
+};
+#endif
+
+#ifndef ABI::Windows::UI::Core::Point
+namespace ABI::Windows::UI::Core {
+ struct Point {
+ FLOAT X;
+ FLOAT Y;
+ };
+}
+#endif
+#endif
+
#include <dispatcherqueue.h>
Expand Down