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
1b2aacc9
Commit
1b2aacc9
authored
Nov 09, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Nov 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement texture SetAppData and GetAppData.
parent
5e031741
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
texture.c
dlls/d3drm/texture.c
+19
-8
No files found.
dlls/d3drm/texture.c
View file @
1b2aacc9
...
@@ -33,6 +33,7 @@ typedef struct {
...
@@ -33,6 +33,7 @@ typedef struct {
IDirect3DRMTexture2
IDirect3DRMTexture2_iface
;
IDirect3DRMTexture2
IDirect3DRMTexture2_iface
;
IDirect3DRMTexture3
IDirect3DRMTexture3_iface
;
IDirect3DRMTexture3
IDirect3DRMTexture3_iface
;
LONG
ref
;
LONG
ref
;
DWORD
app_data
;
}
IDirect3DRMTextureImpl
;
}
IDirect3DRMTextureImpl
;
static
inline
IDirect3DRMTextureImpl
*
impl_from_IDirect3DRMTexture2
(
IDirect3DRMTexture2
*
iface
)
static
inline
IDirect3DRMTextureImpl
*
impl_from_IDirect3DRMTexture2
(
IDirect3DRMTexture2
*
iface
)
...
@@ -130,16 +131,20 @@ static HRESULT WINAPI IDirect3DRMTexture2Impl_DeleteDestroyCallback(IDirect3DRMT
...
@@ -130,16 +131,20 @@ static HRESULT WINAPI IDirect3DRMTexture2Impl_DeleteDestroyCallback(IDirect3DRMT
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_SetAppData
(
IDirect3DRMTexture2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_SetAppData
(
IDirect3DRMTexture2
*
iface
,
DWORD
data
)
DWORD
data
)
{
{
FIXME
(
"(%p)->(%u): stub
\n
"
,
iface
,
data
);
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture2
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%u)
\n
"
,
iface
,
data
);
return
IDirect3DRMTexture3_SetAppData
(
&
This
->
IDirect3DRMTexture3_iface
,
data
);
}
}
static
DWORD
WINAPI
IDirect3DRMTexture2Impl_GetAppData
(
IDirect3DRMTexture2
*
iface
)
static
DWORD
WINAPI
IDirect3DRMTexture2Impl_GetAppData
(
IDirect3DRMTexture2
*
iface
)
{
{
FIXME
(
"(%p)->(): stub
\n
"
,
iface
);
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture2
(
iface
);
return
0
;
TRACE
(
"(%p)->()
\n
"
,
iface
);
return
IDirect3DRMTexture3_GetAppData
(
&
This
->
IDirect3DRMTexture3_iface
);
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_SetName
(
IDirect3DRMTexture2
*
iface
,
LPCSTR
name
)
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_SetName
(
IDirect3DRMTexture2
*
iface
,
LPCSTR
name
)
...
@@ -494,16 +499,22 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_DeleteDestroyCallback(IDirect3DRMT
...
@@ -494,16 +499,22 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_DeleteDestroyCallback(IDirect3DRMT
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetAppData
(
IDirect3DRMTexture3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetAppData
(
IDirect3DRMTexture3
*
iface
,
DWORD
data
)
DWORD
data
)
{
{
FIXME
(
"(%p)->(%u): stub
\n
"
,
iface
,
data
);
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%u)
\n
"
,
iface
,
data
);
This
->
app_data
=
data
;
return
D3DRM_OK
;
}
}
static
DWORD
WINAPI
IDirect3DRMTexture3Impl_GetAppData
(
IDirect3DRMTexture3
*
iface
)
static
DWORD
WINAPI
IDirect3DRMTexture3Impl_GetAppData
(
IDirect3DRMTexture3
*
iface
)
{
{
FIXME
(
"(%p)->(): stub
\n
"
,
iface
);
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
return
0
;
TRACE
(
"(%p)->()
\n
"
,
iface
);
return
This
->
app_data
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetName
(
IDirect3DRMTexture3
*
iface
,
LPCSTR
name
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetName
(
IDirect3DRMTexture3
*
iface
,
LPCSTR
name
)
...
...
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