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
c3c131ab
Commit
c3c131ab
authored
Jun 23, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only invalidate STATE_STREAMSRC for bound buffers.
parent
c4da128b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
buffer.c
dlls/wined3d/buffer.c
+4
-2
No files found.
dlls/wined3d/buffer.c
View file @
c3c131ab
...
...
@@ -843,7 +843,8 @@ void CDECL wined3d_buffer_preload(struct wined3d_buffer *buffer)
FIXME
(
"Too many full buffer conversions, stopping converting.
\n
"
);
buffer_unload
(
&
buffer
->
resource
);
buffer
->
flags
&=
~
WINED3D_BUFFER_CREATEBO
;
device_invalidate_state
(
device
,
STATE_STREAMSRC
);
if
(
buffer
->
bind_count
)
device_invalidate_state
(
device
,
STATE_STREAMSRC
);
return
;
}
}
...
...
@@ -1070,7 +1071,8 @@ HRESULT CDECL wined3d_buffer_map(struct wined3d_buffer *buffer, UINT offset, UIN
TRACE
(
"Dynamic buffer, dropping VBO
\n
"
);
buffer_unload
(
&
buffer
->
resource
);
buffer
->
flags
&=
~
WINED3D_BUFFER_CREATEBO
;
device_invalidate_state
(
device
,
STATE_STREAMSRC
);
if
(
buffer
->
bind_count
)
device_invalidate_state
(
device
,
STATE_STREAMSRC
);
}
else
{
...
...
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