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
2cf1db59
Commit
2cf1db59
authored
Feb 10, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Set WINED3D_RESOURCE_ACCESS_MAP on buffers.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
46f20e41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
buffer.c
dlls/d3d8/buffer.c
+2
-2
No files found.
dlls/d3d8/buffer.c
View file @
2cf1db59
...
...
@@ -289,7 +289,7 @@ HRESULT vertexbuffer_init(struct d3d8_vertexbuffer *buffer, struct d3d8_device *
desc
.
byte_width
=
size
;
desc
.
usage
=
usage
&
WINED3DUSAGE_MASK
;
desc
.
bind_flags
=
WINED3D_BIND_VERTEX_BUFFER
;
desc
.
access
=
wined3daccess_from_d3dpool
(
pool
);
desc
.
access
=
wined3daccess_from_d3dpool
(
pool
)
|
WINED3D_RESOURCE_ACCESS_MAP
;
desc
.
misc_flags
=
0
;
desc
.
structure_byte_stride
=
0
;
...
...
@@ -577,7 +577,7 @@ HRESULT indexbuffer_init(struct d3d8_indexbuffer *buffer, struct d3d8_device *de
if
(
pool
==
D3DPOOL_SCRATCH
)
desc
.
usage
|=
WINED3DUSAGE_SCRATCH
;
desc
.
bind_flags
=
WINED3D_BIND_INDEX_BUFFER
;
desc
.
access
=
wined3daccess_from_d3dpool
(
pool
);
desc
.
access
=
wined3daccess_from_d3dpool
(
pool
)
|
WINED3D_RESOURCE_ACCESS_MAP
;
desc
.
misc_flags
=
0
;
desc
.
structure_byte_stride
=
0
;
...
...
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