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
97266441
Commit
97266441
authored
Feb 26, 2017
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the command stream state in wined3d_cs_exec_clear().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
29326406
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cs.c
dlls/wined3d/cs.c
+2
-3
No files found.
dlls/wined3d/cs.c
View file @
97266441
...
...
@@ -387,17 +387,16 @@ void wined3d_cs_emit_present(struct wined3d_cs *cs, struct wined3d_swapchain *sw
static
void
wined3d_cs_exec_clear
(
struct
wined3d_cs
*
cs
,
const
void
*
data
)
{
const
struct
wined3d_state
*
state
=
&
cs
->
state
;
const
struct
wined3d_cs_clear
*
op
=
data
;
const
struct
wined3d_state
*
state
;
struct
wined3d_device
*
device
;
unsigned
int
i
;
RECT
draw_rect
;
device
=
cs
->
device
;
state
=
&
device
->
state
;
wined3d_get_draw_rect
(
state
,
&
draw_rect
);
device_clear_render_targets
(
device
,
device
->
adapter
->
gl_info
.
limits
.
buffers
,
cs
->
state
.
fb
,
op
->
rect_count
,
op
->
rects
,
&
draw_rect
,
op
->
flags
,
state
->
fb
,
op
->
rect_count
,
op
->
rects
,
&
draw_rect
,
op
->
flags
,
&
op
->
color
,
op
->
depth
,
op
->
stencil
);
if
(
op
->
flags
&
WINED3DCLEAR_TARGET
)
...
...
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