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
99e2aedb
Commit
99e2aedb
authored
Sep 23, 2010
by
Misha Koshelev
Committed by
Alexandre Julliard
Sep 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Implement ID3DXMesh_Lock/UnlockVertexBuffer and ID3DXMesh_Lock/UnlockIndexBuffer.
parent
10af823f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mesh.c
dlls/d3dx9_36/mesh.c
+8
-8
No files found.
dlls/d3dx9_36/mesh.c
View file @
99e2aedb
...
...
@@ -213,36 +213,36 @@ static HRESULT WINAPI ID3DXMeshImpl_LockVertexBuffer(ID3DXMesh *iface, DWORD fla
{
ID3DXMeshImpl
*
This
=
(
ID3DXMeshImpl
*
)
iface
;
FIXME
(
"(%p)->(%u,%p): stub
\n
"
,
This
,
flags
,
data
);
TRACE
(
"(%p)->(%u,%p)
\n
"
,
This
,
flags
,
data
);
return
E_NOTIMPL
;
return
IDirect3DVertexBuffer9_Lock
(
This
->
vertex_buffer
,
0
,
0
,
data
,
flags
)
;
}
static
HRESULT
WINAPI
ID3DXMeshImpl_UnlockVertexBuffer
(
ID3DXMesh
*
iface
)
{
ID3DXMeshImpl
*
This
=
(
ID3DXMeshImpl
*
)
iface
;
FIXME
(
"(%p): stub
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
return
IDirect3DVertexBuffer9_Unlock
(
This
->
vertex_buffer
)
;
}
static
HRESULT
WINAPI
ID3DXMeshImpl_LockIndexBuffer
(
ID3DXMesh
*
iface
,
DWORD
flags
,
LPVOID
*
data
)
{
ID3DXMeshImpl
*
This
=
(
ID3DXMeshImpl
*
)
iface
;
FIXME
(
"(%p)->(%u,%p): stub
\n
"
,
This
,
flags
,
data
);
TRACE
(
"(%p)->(%u,%p)
\n
"
,
This
,
flags
,
data
);
return
E_NOTIMPL
;
return
IDirect3DIndexBuffer9_Lock
(
This
->
index_buffer
,
0
,
0
,
data
,
flags
)
;
}
static
HRESULT
WINAPI
ID3DXMeshImpl_UnlockIndexBuffer
(
ID3DXMesh
*
iface
)
{
ID3DXMeshImpl
*
This
=
(
ID3DXMeshImpl
*
)
iface
;
FIXME
(
"(%p): stub
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
return
IDirect3DIndexBuffer9_Unlock
(
This
->
index_buffer
)
;
}
static
HRESULT
WINAPI
ID3DXMeshImpl_GetAttributeTable
(
ID3DXMesh
*
iface
,
D3DXATTRIBUTERANGE
*
attrib_table
,
DWORD
*
attrib_table_size
)
...
...
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