summaryrefslogtreecommitdiffstats
path: root/src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch')
-rw-r--r--src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch b/src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch
deleted file mode 100644
index f32702dadf..0000000000
--- a/src/angle/patches/0005-ANGLE-Fix-compilation-without-d3d11.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From c224d27faf33fe2830b35eba22af0a637e1309cb Mon Sep 17 00:00:00 2001
-From: Oliver Wolff <oliver.wolff@theqtcompany.com>
-Date: Tue, 1 Mar 2016 14:14:29 +0100
-Subject: [PATCH 5/7] ANGLE: Fix compilation without d3d11
-
-Change-Id: I70ca8ef8ed205465a20c47756634ef6efc16ce85
----
- src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/NativeWindow.h | 4 +++-
- .../angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp | 2 ++
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/NativeWindow.h b/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/NativeWindow.h
-index 1c94538..612b06b 100644
---- a/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/NativeWindow.h
-+++ b/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/NativeWindow.h
-@@ -39,7 +39,7 @@ class InspectableNativeWindow;
- using namespace Microsoft::WRL;
- using namespace Microsoft::WRL::Wrappers;
-
--#else
-+#elif defined(ANGLE_ENABLE_D3D11)
- typedef IDXGISwapChain DXGISwapChain;
- typedef IDXGIFactory DXGIFactory;
- #endif
-@@ -68,9 +68,11 @@ class NativeWindow
- #endif
- static bool isValidNativeWindow(EGLNativeWindowType window);
-
-+#if defined(ANGLE_ENABLE_D3D11)
- HRESULT createSwapChain(ID3D11Device* device, DXGIFactory* factory,
- DXGI_FORMAT format, UINT width, UINT height,
- DXGISwapChain** swapChain);
-+#endif
-
- inline EGLNativeWindowType getNativeWindow() const { return mWindow; }
-
-diff --git a/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp b/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp
-index 05d7a46..d96fed7 100644
---- a/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp
-+++ b/src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp
-@@ -56,6 +56,7 @@ bool NativeWindow::isValidNativeWindow(EGLNativeWindowType window)
- return IsWindow(window) == TRUE;
- }
-
-+#if defined(ANGLE_ENABLE_D3D11)
- HRESULT NativeWindow::createSwapChain(ID3D11Device* device, DXGIFactory* factory,
- DXGI_FORMAT format, unsigned int width, unsigned int height,
- DXGISwapChain** swapChain)
-@@ -191,6 +192,7 @@ HRESULT NativeWindow::createSwapChain(ID3D11Device* device, DXGIFactory* factory
-
- return factory->CreateSwapChain(device, &swapChainDesc, swapChain);
- }
-+#endif
-
- void NativeWindow::commitChange()
- {
---
-2.7.0.windows.1
-