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
21a7b183
Commit
21a7b183
authored
Jul 12, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement d3d10_texture2d_Unmap().
parent
2b4c72b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
texture.c
dlls/d3d10core/texture.c
+10
-2
No files found.
dlls/d3d10core/texture.c
View file @
21a7b183
...
...
@@ -159,9 +159,17 @@ static HRESULT STDMETHODCALLTYPE d3d10_texture2d_Map(ID3D10Texture2D *iface, UIN
return
E_NOTIMPL
;
}
static
void
STDMETHODCALLTYPE
d3d10_texture2d_Unmap
(
ID3D10Texture2D
*
iface
,
UINT
sub_resource
)
static
void
STDMETHODCALLTYPE
d3d10_texture2d_Unmap
(
ID3D10Texture2D
*
iface
,
UINT
sub_resource
_idx
)
{
FIXME
(
"iface %p, sub_resource %u stub!
\n
"
,
iface
,
sub_resource
);
struct
d3d10_texture2d
*
texture
=
impl_from_ID3D10Texture2D
(
iface
);
struct
wined3d_resource
*
sub_resource
;
TRACE
(
"iface %p, sub_resource_idx %u.
\n
"
,
iface
,
sub_resource_idx
);
if
(
!
(
sub_resource
=
wined3d_texture_get_sub_resource
(
texture
->
wined3d_texture
,
sub_resource_idx
)))
return
;
wined3d_surface_unmap
(
wined3d_surface_from_resource
(
sub_resource
));
}
static
void
STDMETHODCALLTYPE
d3d10_texture2d_GetDesc
(
ID3D10Texture2D
*
iface
,
D3D10_TEXTURE2D_DESC
*
desc
)
...
...
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