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
d4e167df
Commit
d4e167df
authored
Aug 26, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Properly check if an attribute is used in remove_vbos().
parent
59c017c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drawprim.c
dlls/wined3d/drawprim.c
+5
-1
No files found.
dlls/wined3d/drawprim.c
View file @
d4e167df
...
...
@@ -558,7 +558,11 @@ static inline void remove_vbos(IWineD3DDeviceImpl *This, struct wined3d_stream_i
for
(
i
=
0
;
i
<
(
sizeof
(
s
->
elements
)
/
sizeof
(
*
s
->
elements
));
++
i
)
{
struct
wined3d_stream_info_element
*
e
=
&
s
->
elements
[
i
];
struct
wined3d_stream_info_element
*
e
;
if
(
!
(
s
->
use_map
&
(
1
<<
i
)))
continue
;
e
=
&
s
->
elements
[
i
];
if
(
e
->
buffer_object
)
{
struct
wined3d_buffer
*
vb
=
(
struct
wined3d_buffer
*
)
This
->
stateBlock
->
streamSource
[
e
->
stream_idx
];
...
...
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