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
5aa43a2b
Commit
5aa43a2b
authored
Jan 13, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jan 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Move GetTextureCoordinates from IDirect3DRMMeshBuilder2 to IDirect3DRMMeshBuilder3.
parent
e27d3c0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
meshbuilder.c
dlls/d3drm/meshbuilder.c
+11
-10
No files found.
dlls/d3drm/meshbuilder.c
View file @
5aa43a2b
...
...
@@ -772,15 +772,10 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_GetTextureCoordinates(IDirect3
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%d,%p,%p): stub
\n
"
,
This
,
index
,
u
,
v
);
TRACE
(
"(%p)->(%d,%p,%p)
\n
"
,
This
,
index
,
u
,
v
);
if
(
index
>=
This
->
nb_coords2d
)
return
D3DRMERR_NOTFOUND
;
*
u
=
This
->
pCoords2d
[
index
].
u
;
*
v
=
This
->
pCoords2d
[
index
].
v
;
return
D3DRM_OK
;
return
IDirect3DRMMeshBuilder2_GetTextureCoordinates
(
&
This
->
IDirect3DRMMeshBuilder3_iface
,
index
,
u
,
v
);
}
static
int
WINAPI
IDirect3DRMMeshBuilder2Impl_AddVertex
(
IDirect3DRMMeshBuilder2
*
iface
,
...
...
@@ -1579,9 +1574,15 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_GetTextureCoordinates(IDirect3
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%d,%p,%p): stub
\n
"
,
This
,
index
,
u
,
v
);
TRACE
(
"(%p)->(%d,%p,%p)
\n
"
,
This
,
index
,
u
,
v
);
return
E_NOTIMPL
;
if
(
index
>=
This
->
nb_coords2d
)
return
D3DRMERR_NOTFOUND
;
*
u
=
This
->
pCoords2d
[
index
].
u
;
*
v
=
This
->
pCoords2d
[
index
].
v
;
return
D3DRM_OK
;
}
...
...
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