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
25f66930
Commit
25f66930
authored
Oct 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Ensure method declaration matches implementations.
wined3d_resource_ops.resource_sub_resource_map() Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
414543f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
texture.c
dlls/wined3d/texture.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/texture.c
View file @
25f66930
...
...
@@ -3689,7 +3689,7 @@ static void texture_resource_sub_resource_get_map_pitch(struct wined3d_resource
}
static
HRESULT
texture_resource_sub_resource_map
(
struct
wined3d_resource
*
resource
,
unsigned
int
sub_resource_idx
,
void
**
map_ptr
,
const
struct
wined3d_box
*
box
,
DWORD
flags
)
void
**
map_ptr
,
const
struct
wined3d_box
*
box
,
uint32_t
flags
)
{
struct
wined3d_texture_sub_resource
*
sub_resource
;
struct
wined3d_device
*
device
=
resource
->
device
;
...
...
dlls/wined3d/wined3d_private.h
View file @
25f66930
...
...
@@ -4393,7 +4393,7 @@ struct wined3d_resource_ops
void
(
*
resource_sub_resource_get_map_pitch
)(
struct
wined3d_resource
*
resource
,
unsigned
int
sub_resource_idx
,
unsigned
int
*
row_pitch
,
unsigned
int
*
slice_pitch
);
HRESULT
(
*
resource_sub_resource_map
)(
struct
wined3d_resource
*
resource
,
unsigned
int
sub_resource_idx
,
void
**
map_ptr
,
const
struct
wined3d_box
*
box
,
DWORD
flags
);
void
**
map_ptr
,
const
struct
wined3d_box
*
box
,
uint32_t
flags
);
HRESULT
(
*
resource_sub_resource_unmap
)(
struct
wined3d_resource
*
resource
,
unsigned
int
sub_resource_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