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
01251f3d
Commit
01251f3d
authored
Jul 18, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the previous "dirty" status to set WINED3D_BUFFER_NOSYNC in wined3d_buffer_map().
This (presumably) fixes a regression introduced by commit
c1032e97
.
parent
8c19371b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
buffer.c
dlls/wined3d/buffer.c
+2
-1
No files found.
dlls/wined3d/buffer.c
View file @
01251f3d
...
...
@@ -939,6 +939,7 @@ struct wined3d_resource * CDECL wined3d_buffer_get_resource(struct wined3d_buffe
HRESULT
CDECL
wined3d_buffer_map
(
struct
wined3d_buffer
*
buffer
,
UINT
offset
,
UINT
size
,
BYTE
**
data
,
DWORD
flags
)
{
BOOL
dirty
=
buffer_is_dirty
(
buffer
);
LONG
count
;
BYTE
*
base
;
...
...
@@ -1034,7 +1035,7 @@ HRESULT CDECL wined3d_buffer_map(struct wined3d_buffer *buffer, UINT offset, UIN
if
(
!
(
flags
&
WINED3D_MAP_NOOVERWRITE
))
buffer
->
flags
&=
~
WINED3D_BUFFER_NOSYNC
;
else
if
(
!
buffer_is_dirty
(
buffer
)
)
else
if
(
!
dirty
)
buffer
->
flags
|=
WINED3D_BUFFER_NOSYNC
;
}
...
...
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