You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 225c43b8124aaeb4c2e307379ab98036db1a38b3.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From ce85a9cdc238c5cbeda3d5f1c4d3841fac3be74e Mon Sep 17 00:00:00 2001
|
||||
From d29fadf3f80f98f06f955739ede3739dc1425459 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sat, 27 Aug 2016 23:59:20 +0200
|
||||
Subject: d3d11: Generate dxgi surface in d3d_texture1d_init.
|
||||
@@ -9,7 +9,7 @@ Subject: d3d11: Generate dxgi surface in d3d_texture1d_init.
|
||||
2 files changed, 34 insertions(+)
|
||||
|
||||
diff --git a/dlls/d3d11/d3d11_private.h b/dlls/d3d11/d3d11_private.h
|
||||
index 4a18ca7..a9a5df1 100644
|
||||
index 3bd2dec..edf7217 100644
|
||||
--- a/dlls/d3d11/d3d11_private.h
|
||||
+++ b/dlls/d3d11/d3d11_private.h
|
||||
@@ -112,6 +112,7 @@ struct d3d_texture1d
|
||||
@@ -21,7 +21,7 @@ index 4a18ca7..a9a5df1 100644
|
||||
D3D11_TEXTURE1D_DESC desc;
|
||||
ID3D11Device *device;
|
||||
diff --git a/dlls/d3d11/texture.c b/dlls/d3d11/texture.c
|
||||
index 0c269c1..e116994 100644
|
||||
index 2fe7aa4..94f4c57 100644
|
||||
--- a/dlls/d3d11/texture.c
|
||||
+++ b/dlls/d3d11/texture.c
|
||||
@@ -57,6 +57,12 @@ static HRESULT STDMETHODCALLTYPE d3d11_texture1d_QueryInterface(ID3D11Texture1D
|
||||
@@ -63,8 +63,8 @@ index 0c269c1..e116994 100644
|
||||
+ return E_FAIL;
|
||||
+ }
|
||||
+
|
||||
+ hr = IWineDXGIDevice_create_surface(wine_device, wined3d_texture_get_resource(texture->wined3d_texture),
|
||||
+ 0, NULL, (IUnknown *)&texture->ID3D10Texture1D_iface, (void **)&texture->dxgi_surface);
|
||||
+ hr = IWineDXGIDevice_create_surface(wine_device, texture->wined3d_texture, 0, NULL,
|
||||
+ (IUnknown *)&texture->ID3D10Texture1D_iface, (void **)&texture->dxgi_surface);
|
||||
+ IWineDXGIDevice_Release(wine_device);
|
||||
+ if (FAILED(hr))
|
||||
+ {
|
||||
@@ -79,5 +79,5 @@ index 0c269c1..e116994 100644
|
||||
|
||||
texture->device = &device->ID3D11Device_iface;
|
||||
--
|
||||
2.8.1
|
||||
2.9.0
|
||||
|
||||
|
Reference in New Issue
Block a user