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
41fe3558
Commit
41fe3558
authored
May 27, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
May 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDIRECT3DRMTEXTURE2.
parent
769efb1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
d3drm.c
dlls/d3drm/d3drm.c
+9
-13
d3drm.h
include/d3drm.h
+3
-2
No files found.
dlls/d3drm/d3drm.c
View file @
41fe3558
...
@@ -697,25 +697,21 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateUserVisual(IDirect3DRM2* iface,
...
@@ -697,25 +697,21 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateUserVisual(IDirect3DRM2* iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_LoadTexture
(
IDirect3DRM2
*
iface
,
const
char
*
filenam
e
,
static
HRESULT
WINAPI
IDirect3DRM2Impl_LoadTexture
(
IDirect3DRM2
*
ifac
e
,
LPDIRECT3DRMTEXTURE2
*
T
exture
)
const
char
*
filename
,
IDirect3DRMTexture2
**
t
exture
)
{
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"iface %p, filename %s, texture %p stub!
\n
"
,
iface
,
debugstr_a
(
filename
),
texture
);
FIXME
(
"(%p/%p)->(%s,%p): stub
\n
"
,
iface
,
This
,
filename
,
Texture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
T
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
t
exture
);
}
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_LoadTextureFromResource
(
IDirect3DRM2
*
iface
,
HMODULE
hModule
,
static
HRESULT
WINAPI
IDirect3DRM2Impl_LoadTextureFromResource
(
IDirect3DRM2
*
iface
,
HMODULE
module
,
LPCSTR
strName
,
LPCSTR
strType
,
const
char
*
resource_name
,
const
char
*
resource_type
,
IDirect3DRMTexture2
**
texture
)
LPDIRECT3DRMTEXTURE2
*
Texture
)
{
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"iface %p, resource_name %s, resource_type %s, texture %p stub!
\n
"
,
iface
,
debugstr_a
(
resource_name
),
debugstr_a
(
resource_type
),
texture
);
FIXME
(
"(%p/%p)->(%p,%p,%p,%p): stub
\n
"
,
iface
,
This
,
hModule
,
strName
,
strType
,
Texture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
texture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
Texture
);
}
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_SetSearchPath
(
IDirect3DRM2
*
iface
,
LPCSTR
path
)
static
HRESULT
WINAPI
IDirect3DRM2Impl_SetSearchPath
(
IDirect3DRM2
*
iface
,
LPCSTR
path
)
...
...
include/d3drm.h
View file @
41fe3558
...
@@ -226,8 +226,9 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
...
@@ -226,8 +226,9 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
D3DVALUE
dx
,
D3DVALUE
dy
,
D3DVALUE
dz
,
D3DVALUE
ux
,
D3DVALUE
uy
,
D3DVALUE
uz
,
D3DVALUE
ou
,
D3DVALUE
ov
,
D3DVALUE
dx
,
D3DVALUE
dy
,
D3DVALUE
dz
,
D3DVALUE
ux
,
D3DVALUE
uy
,
D3DVALUE
uz
,
D3DVALUE
ou
,
D3DVALUE
ov
,
D3DVALUE
su
,
D3DVALUE
sv
,
IDirect3DRMWrap
**
wrap
)
PURE
;
D3DVALUE
su
,
D3DVALUE
sv
,
IDirect3DRMWrap
**
wrap
)
PURE
;
STDMETHOD
(
CreateUserVisual
)(
THIS_
D3DRMUSERVISUALCALLBACK
,
LPVOID
pArg
,
LPDIRECT3DRMUSERVISUAL
*
)
PURE
;
STDMETHOD
(
CreateUserVisual
)(
THIS_
D3DRMUSERVISUALCALLBACK
,
LPVOID
pArg
,
LPDIRECT3DRMUSERVISUAL
*
)
PURE
;
STDMETHOD
(
LoadTexture
)(
THIS_
const
char
*
,
LPDIRECT3DRMTEXTURE2
*
)
PURE
;
STDMETHOD
(
LoadTexture
)(
THIS_
const
char
*
filename
,
IDirect3DRMTexture2
**
texture
)
PURE
;
STDMETHOD
(
LoadTextureFromResource
)(
THIS_
HMODULE
hModule
,
LPCSTR
/* LPCTSTR */
strName
,
LPCSTR
/* LPCTSTR */
strType
,
LPDIRECT3DRMTEXTURE2
*
)
PURE
;
STDMETHOD
(
LoadTextureFromResource
)(
THIS_
HMODULE
module
,
const
char
*
resource_name
,
const
char
*
resource_type
,
IDirect3DRMTexture2
**
texture
)
PURE
;
STDMETHOD
(
SetSearchPath
)(
THIS_
LPCSTR
)
PURE
;
STDMETHOD
(
SetSearchPath
)(
THIS_
LPCSTR
)
PURE
;
STDMETHOD
(
AddSearchPath
)(
THIS_
LPCSTR
)
PURE
;
STDMETHOD
(
AddSearchPath
)(
THIS_
LPCSTR
)
PURE
;
STDMETHOD
(
GetSearchPath
)(
THIS_
DWORD
*
size_return
,
LPSTR
path_return
)
PURE
;
STDMETHOD
(
GetSearchPath
)(
THIS_
DWORD
*
size_return
,
LPSTR
path_return
)
PURE
;
...
...
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