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
2268f8c7
Commit
2268f8c7
authored
May 27, 2012
by
André Hentschel
Committed by
Alexandre Julliard
May 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMDeviceX_[Get|Set]Dither.
parent
d738e6ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
device.c
dlls/d3drm/device.c
+11
-8
No files found.
dlls/d3drm/device.c
View file @
2268f8c7
...
...
@@ -39,6 +39,7 @@ typedef struct {
IDirect3DRMDevice3
IDirect3DRMDevice3_iface
;
IDirect3DRMWinDevice
IDirect3DRMWinDevice_iface
;
LONG
ref
;
BOOL
dither
;
}
IDirect3DRMDeviceImpl
;
static
inline
IDirect3DRMDeviceImpl
*
impl_from_IDirect3DRMDevice2
(
IDirect3DRMDevice2
*
iface
)
...
...
@@ -281,9 +282,9 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_SetDither(IDirect3DRMDevice2* iface
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"(%p/%p)->(%d): stub
\n
"
,
iface
,
This
,
enable
);
TRACE
(
"(%p/%p)->(%d)
\n
"
,
iface
,
This
,
enable
);
return
E_NOTIMPL
;
return
IDirect3DRMDevice3_SetDither
(
&
This
->
IDirect3DRMDevice3_iface
,
enable
)
;
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_SetShades
(
IDirect3DRMDevice2
*
iface
,
DWORD
count
)
...
...
@@ -329,9 +330,9 @@ static BOOL WINAPI IDirect3DRMDevice2Impl_GetDither(IDirect3DRMDevice2* iface)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
IDirect3DRMDevice3_GetDither
(
&
This
->
IDirect3DRMDevice3_iface
)
;
}
static
DWORD
WINAPI
IDirect3DRMDevice2Impl_GetShades
(
IDirect3DRMDevice2
*
iface
)
...
...
@@ -701,9 +702,11 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_SetDither(IDirect3DRMDevice3* iface
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(%d): stub
\n
"
,
iface
,
This
,
enable
);
TRACE
(
"(%p/%p)->(%d)
\n
"
,
iface
,
This
,
enable
);
return
E_NOTIMPL
;
This
->
dither
=
enable
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_SetShades
(
IDirect3DRMDevice3
*
iface
,
DWORD
count
)
...
...
@@ -749,9 +752,9 @@ static BOOL WINAPI IDirect3DRMDevice3Impl_GetDither(IDirect3DRMDevice3* iface)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
This
->
dither
;
}
static
DWORD
WINAPI
IDirect3DRMDevice3Impl_GetShades
(
IDirect3DRMDevice3
*
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