Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1f1b439b
Commit
1f1b439b
authored
Nov 08, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Do not set WINED3D_TEXTURE_CREATE_MAPPABLE for swapchain textures.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b86019a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
device.c
dlls/d3d8/device.c
+2
-3
device.c
dlls/d3d8/tests/device.c
+0
-1
No files found.
dlls/d3d8/device.c
View file @
1f1b439b
...
...
@@ -3329,9 +3329,8 @@ static HRESULT CDECL device_parent_create_swapchain_texture(struct wined3d_devic
TRACE
(
"device_parent %p, container_parent %p, desc %p, texture flags %#x, texture %p.
\n
"
,
device_parent
,
container_parent
,
desc
,
texture_flags
,
texture
);
if
(
FAILED
(
hr
=
wined3d_texture_create
(
device
->
wined3d_device
,
desc
,
1
,
1
,
texture_flags
|
WINED3D_TEXTURE_CREATE_MAPPABLE
,
NULL
,
&
device
->
IDirect3DDevice8_iface
,
&
d3d8_null_wined3d_parent_ops
,
texture
)))
if
(
FAILED
(
hr
=
wined3d_texture_create
(
device
->
wined3d_device
,
desc
,
1
,
1
,
texture_flags
,
NULL
,
&
device
->
IDirect3DDevice8_iface
,
&
d3d8_null_wined3d_parent_ops
,
texture
)))
{
WARN
(
"Failed to create texture, hr %#x.
\n
"
,
hr
);
return
hr
;
...
...
dlls/d3d8/tests/device.c
View file @
1f1b439b
...
...
@@ -8460,7 +8460,6 @@ todo_wine
ok
(
SUCCEEDED
(
hr
),
"Failed to get backbuffer, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DSurface8_LockRect
(
surface
,
&
lockrect
,
NULL
,
D3DLOCK_READONLY
);
todo_wine
ok
(
SUCCEEDED
(
hr
),
"Failed to lock rect, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DSurface8_UnlockRect
(
surface
);
ok
(
SUCCEEDED
(
hr
),
"Failed to unlock rect, hr %#x.
\n
"
,
hr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment