Skip to content

Commit

Permalink
Rebase against dc80a0032927421d61b95659af570c21439e4a76
Browse files Browse the repository at this point in the history
  • Loading branch information
alesliehughes committed Jan 2, 2019
1 parent ae1f954 commit 9256515
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -1362,7 +1362,7 @@ index c930248..80f73de 100644
+ object->device = iface;
+ object->refcount = 1;
+
+ ID3D11Device_AddRef(iface);
+ ID3D11Device2_AddRef(iface);
+ wined3d_private_store_init(&object->private_store);
+
+ *context = &object->ID3D11DeviceContext_iface;
Expand Down
Expand Up @@ -198,7 +198,7 @@ index 8190442..c73981b 100644
+ bind_flags, WINED3D_RTYPE_TEXTURE_2D, wined3d_desc.format)))
+ {
+ FIXME("Application wants to create rendering target in system memory, using video memory instead\n");
+ wined3d_desc.usage = wined3d_desc.bind_flags;
+ wined3d_desc.bind_flags = bind_flags;
+ }
+ else
+ wined3d_desc.access = WINED3D_RESOURCE_ACCESS_CPU
Expand Down
2 changes: 1 addition & 1 deletion patches/patchinstall.sh
Expand Up @@ -52,7 +52,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "2058505cebc7bb069e1e2d0d738353336e943b7b"
echo "dc80a0032927421d61b95659af570c21439e4a76"
}

# Show version information
Expand Down

3 comments on commit 9256515

@Tk-Glitch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 1305 of 0003-d3d11-Initial-implementation-for-deferred-contexts.patch also needs to be switched to ID3D11Device2_AddRef(iface); for the patchset to apply.

@alesliehughes
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now fixed. Thanks.

@Tk-Glitch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Alistair!

Please sign in to comment.