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
0706019a
Commit
0706019a
authored
Feb 09, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use wined3d_texture_get_pitch() in wined3d_volume_upload_data().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a945266d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
volume.c
dlls/wined3d/volume.c
+1
-1
No files found.
dlls/wined3d/volume.c
View file @
0706019a
...
...
@@ -76,7 +76,7 @@ void wined3d_volume_upload_data(struct wined3d_volume *volume, const struct wine
dst_row_pitch
=
width
*
format
->
conv_byte_count
;
dst_slice_pitch
=
dst_row_pitch
*
height
;
wined3d_
volume_get_pitch
(
volume
,
&
src_row_pitch
,
&
src_slice_pitch
);
wined3d_
texture_get_pitch
(
volume
->
container
,
volume
->
texture_level
,
&
src_row_pitch
,
&
src_slice_pitch
);
converted_mem
=
HeapAlloc
(
GetProcessHeap
(),
0
,
dst_slice_pitch
*
depth
);
format
->
convert
(
data
->
addr
,
converted_mem
,
src_row_pitch
,
src_slice_pitch
,
...
...
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