Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d700dbba
Commit
d700dbba
authored
Jul 28, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Merge two adjacent ifs with identical condition (PVS-Studio).
parent
f2989a25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
device.c
dlls/wined3d/device.c
+1
-2
No files found.
dlls/wined3d/device.c
View file @
d700dbba
...
...
@@ -1272,10 +1272,9 @@ HRESULT CDECL wined3d_device_set_stream_source(struct wined3d_device *device, UI
{
stream
->
stride
=
stride
;
stream
->
offset
=
offset
;
wined3d_buffer_incref
(
buffer
);
}
if
(
buffer
)
wined3d_buffer_incref
(
buffer
);
if
(
!
device
->
recording
)
wined3d_cs_emit_set_stream_source
(
device
->
cs
,
stream_idx
,
buffer
,
offset
,
stride
);
if
(
prev_buffer
)
...
...
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