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
89d0d3ff
Commit
89d0d3ff
authored
Oct 25, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the device parameter to context_setup_target().
parent
aa7bbe13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
context.c
dlls/wined3d/context.c
+2
-3
No files found.
dlls/wined3d/context.c
View file @
89d0d3ff
...
...
@@ -2402,8 +2402,7 @@ BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_de
return
TRUE
;
}
static
void
context_setup_target
(
struct
wined3d_device
*
device
,
struct
wined3d_context
*
context
,
struct
wined3d_surface
*
target
)
static
void
context_setup_target
(
struct
wined3d_context
*
context
,
struct
wined3d_surface
*
target
)
{
BOOL
old_render_offscreen
=
context
->
render_offscreen
,
render_offscreen
;
...
...
@@ -2507,7 +2506,7 @@ struct wined3d_context *context_acquire(struct wined3d_device *device, struct wi
}
context_update_window
(
context
);
context_setup_target
(
device
,
context
,
target
);
context_setup_target
(
context
,
target
);
context_enter
(
context
);
if
(
!
context
->
valid
)
return
context
;
...
...
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