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
030c37ce
Commit
030c37ce
authored
Sep 14, 2022
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Return bools from all return paths in wined3d_cs_map_upload_bo().
parent
e5f5bea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cs.c
dlls/wined3d/cs.c
+2
-2
No files found.
dlls/wined3d/cs.c
View file @
030c37ce
...
...
@@ -2968,13 +2968,13 @@ static bool wined3d_cs_map_upload_bo(struct wined3d_device_context *context, str
if
(
!
d3d_info
->
xyzrhw
||
!
d3d_info
->
vertex_bgra
||
!
d3d_info
->
ffp_generic_attributes
)
{
TRACE
(
"Not returning a persistent buffer because we might need to do vertex attribute conversion.
\n
"
);
return
NULL
;
return
false
;
}
if
(
resource
->
pin_sysmem
)
{
TRACE
(
"Not allocating an upload buffer because system memory is pinned for this resource.
\n
"
);
return
NULL
;
return
false
;
}
if
((
flags
&
WINED3D_MAP_NOOVERWRITE
)
&&
client
->
addr
.
buffer_object
==
CLIENT_BO_DISCARDED
)
...
...
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