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
69a63024
Commit
69a63024
authored
Sep 17, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement d3d10_device_RSSetViewports().
parent
51572d8a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
device.c
dlls/d3d10core/device.c
+19
-1
No files found.
dlls/d3d10core/device.c
View file @
69a63024
...
...
@@ -348,7 +348,25 @@ static void STDMETHODCALLTYPE d3d10_device_RSSetState(ID3D10Device *iface, ID3D1
static
void
STDMETHODCALLTYPE
d3d10_device_RSSetViewports
(
ID3D10Device
*
iface
,
UINT
viewport_count
,
const
D3D10_VIEWPORT
*
viewports
)
{
FIXME
(
"iface %p, viewport_count %u, viewports %p stub!
\n
"
,
iface
,
viewport_count
,
viewports
);
struct
d3d10_device
*
device
=
impl_from_ID3D10Device
(
iface
);
struct
wined3d_viewport
wined3d_vp
;
TRACE
(
"iface %p, viewport_count %u, viewports %p.
\n
"
,
iface
,
viewport_count
,
viewports
);
if
(
viewport_count
>
1
)
FIXME
(
"Multiple viewports not implemented.
\n
"
);
if
(
!
viewport_count
)
return
;
wined3d_vp
.
x
=
viewports
[
0
].
TopLeftX
;
wined3d_vp
.
y
=
viewports
[
0
].
TopLeftY
;
wined3d_vp
.
width
=
viewports
[
0
].
Width
;
wined3d_vp
.
height
=
viewports
[
0
].
Height
;
wined3d_vp
.
min_z
=
viewports
[
0
].
MinDepth
;
wined3d_vp
.
max_z
=
viewports
[
0
].
MaxDepth
;
wined3d_device_set_viewport
(
device
->
wined3d_device
,
&
wined3d_vp
);
}
static
void
STDMETHODCALLTYPE
d3d10_device_RSSetScissorRects
(
ID3D10Device
*
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