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
8ebc1800
Commit
8ebc1800
authored
Oct 15, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement ID3D10Buffer::Map().
parent
0749d139
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
buffer.c
dlls/d3d10core/buffer.c
+9
-2
No files found.
dlls/d3d10core/buffer.c
View file @
8ebc1800
...
@@ -131,9 +131,16 @@ static UINT STDMETHODCALLTYPE d3d10_buffer_GetEvictionPriority(ID3D10Buffer *ifa
...
@@ -131,9 +131,16 @@ static UINT STDMETHODCALLTYPE d3d10_buffer_GetEvictionPriority(ID3D10Buffer *ifa
static
HRESULT
STDMETHODCALLTYPE
d3d10_buffer_Map
(
ID3D10Buffer
*
iface
,
D3D10_MAP
map_type
,
UINT
map_flags
,
void
**
data
)
static
HRESULT
STDMETHODCALLTYPE
d3d10_buffer_Map
(
ID3D10Buffer
*
iface
,
D3D10_MAP
map_type
,
UINT
map_flags
,
void
**
data
)
{
{
FIXME
(
"iface %p, map_type %u, map_flags %#x, data %p stub!
\n
"
,
iface
,
map_type
,
map_flags
,
data
)
;
struct
d3d10_buffer
*
buffer
=
(
struct
d3d10_buffer
*
)
iface
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, map_type %u, map_flags %#x, data %p.
\n
"
,
iface
,
map_type
,
map_flags
,
data
);
if
(
map_type
!=
D3D10_MAP_READ_WRITE
)
FIXME
(
"Ignoring map_type %#x.
\n
"
,
map_type
);
if
(
map_flags
)
FIXME
(
"Ignoring map_flags %#x.
\n
"
,
map_flags
);
return
IWineD3DBuffer_Map
(
buffer
->
wined3d_buffer
,
0
,
0
,
(
BYTE
**
)
data
,
0
);
}
}
static
void
STDMETHODCALLTYPE
d3d10_buffer_Unmap
(
ID3D10Buffer
*
iface
)
static
void
STDMETHODCALLTYPE
d3d10_buffer_Unmap
(
ID3D10Buffer
*
iface
)
...
...
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