Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
9a8b788d
Commit
9a8b788d
authored
12 years ago
by
André Zwing
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
d3drm: Implement IDirect3DRMViewportX_[Get|Set]Field.
parent
48b0666d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/d3drm/viewport.c
+11
-8
11 additions, 8 deletions
dlls/d3drm/viewport.c
with
11 additions
and
8 deletions
dlls/d3drm/viewport.c
+
11
−
8
View file @
9a8b788d
...
...
@@ -38,6 +38,7 @@ typedef struct {
LONG
ref
;
D3DVALUE
back
;
D3DVALUE
front
;
D3DVALUE
field
;
}
IDirect3DRMViewportImpl
;
static
inline
IDirect3DRMViewportImpl
*
impl_from_IDirect3DRMViewport
(
IDirect3DRMViewport
*
iface
)
...
...
@@ -239,9 +240,9 @@ static HRESULT WINAPI IDirect3DRMViewportImpl_SetField(IDirect3DRMViewport* ifac
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXM
E
(
"(%p/%p)->(%f)
: stub
\n
"
,
iface
,
This
,
field
);
TRAC
E
(
"(%p/%p)->(%f)
\n
"
,
iface
,
This
,
field
);
return
E_NOTIMPL
;
return
IDirect3DRMViewport2_SetField
(
&
This
->
IDirect3DRMViewport2_iface
,
field
)
;
}
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_SetUniformScaling
(
IDirect3DRMViewport
*
iface
,
BOOL
b
)
...
...
@@ -414,9 +415,9 @@ static D3DVALUE WINAPI IDirect3DRMViewportImpl_GetField(IDirect3DRMViewport* ifa
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXM
E
(
"(%p/%p)->()
: stub
\n
"
,
iface
,
This
);
TRAC
E
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
IDirect3DRMViewport2_GetField
(
&
This
->
IDirect3DRMViewport2_iface
)
;
}
static
D3DVALUE
WINAPI
IDirect3DRMViewportImpl_GetBack
(
IDirect3DRMViewport
*
iface
)
...
...
@@ -664,9 +665,11 @@ static HRESULT WINAPI IDirect3DRMViewport2Impl_SetField(IDirect3DRMViewport2* if
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXM
E
(
"(%p/%p)->(%f)
: stub
\n
"
,
iface
,
This
,
field
);
TRAC
E
(
"(%p/%p)->(%f)
\n
"
,
iface
,
This
,
field
);
return
E_NOTIMPL
;
This
->
field
=
field
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_SetUniformScaling
(
IDirect3DRMViewport2
*
iface
,
BOOL
b
)
...
...
@@ -839,9 +842,9 @@ static D3DVALUE WINAPI IDirect3DRMViewport2Impl_GetField(IDirect3DRMViewport2* i
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXM
E
(
"(%p/%p)->()
: stub
\n
"
,
iface
,
This
);
TRAC
E
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
This
->
field
;
}
static
D3DVALUE
WINAPI
IDirect3DRMViewport2Impl_GetBack
(
IDirect3DRMViewport2
*
iface
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment