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
66262eea
Commit
66262eea
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]Quality.
parent
2268f8c7
Hide 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 @
66262eea
...
...
@@ -40,6 +40,7 @@ typedef struct {
IDirect3DRMWinDevice
IDirect3DRMWinDevice_iface
;
LONG
ref
;
BOOL
dither
;
D3DRMRENDERQUALITY
quality
;
}
IDirect3DRMDeviceImpl
;
static
inline
IDirect3DRMDeviceImpl
*
impl_from_IDirect3DRMDevice2
(
IDirect3DRMDevice2
*
iface
)
...
...
@@ -301,9 +302,9 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_SetQuality(IDirect3DRMDevice2* ifac
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"(%p/%p)->(%u): stub
\n
"
,
iface
,
This
,
quality
);
TRACE
(
"(%p/%p)->(%u)
\n
"
,
iface
,
This
,
quality
);
return
E_NOTIMPL
;
return
IDirect3DRMDevice3_SetQuality
(
&
This
->
IDirect3DRMDevice3_iface
,
quality
)
;
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_SetTextureQuality
(
IDirect3DRMDevice2
*
iface
,
...
...
@@ -384,9 +385,9 @@ static D3DRMRENDERQUALITY WINAPI IDirect3DRMDevice2Impl_GetQuality(IDirect3DRMDe
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
IDirect3DRMDevice3_GetQuality
(
&
This
->
IDirect3DRMDevice3_iface
)
;
}
static
D3DCOLORMODEL
WINAPI
IDirect3DRMDevice2Impl_GetColorModel
(
IDirect3DRMDevice2
*
iface
)
...
...
@@ -723,9 +724,11 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_SetQuality(IDirect3DRMDevice3* ifac
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(%u): stub
\n
"
,
iface
,
This
,
quality
);
TRACE
(
"(%p/%p)->(%u)
\n
"
,
iface
,
This
,
quality
);
return
E_NOTIMPL
;
This
->
quality
=
quality
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_SetTextureQuality
(
IDirect3DRMDevice3
*
iface
,
...
...
@@ -806,9 +809,9 @@ static D3DRMRENDERQUALITY WINAPI IDirect3DRMDevice3Impl_GetQuality(IDirect3DRMDe
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
This
->
quality
;
}
static
D3DCOLORMODEL
WINAPI
IDirect3DRMDevice3Impl_GetColorModel
(
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