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
20f51c29
Commit
20f51c29
authored
Jun 28, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Jul 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Setup target if offscreen rendering setting changed.
parent
5a059502
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
context.c
dlls/wined3d/context.c
+1
-1
swapchain.c
dlls/wined3d/swapchain.c
+0
-3
No files found.
dlls/wined3d/context.c
View file @
20f51c29
...
...
@@ -2242,8 +2242,8 @@ static void context_setup_target(IWineD3DDeviceImpl *device,
const
struct
StateEntry
*
StateTable
=
device
->
StateTable
;
if
(
!
target
)
return
;
else
if
(
context
->
current_rt
==
target
)
return
;
render_offscreen
=
surface_is_offscreen
(
target
);
if
(
context
->
current_rt
==
target
&&
render_offscreen
==
old_render_offscreen
)
return
;
context_set_render_offscreen
(
context
,
StateTable
,
render_offscreen
);
...
...
dlls/wined3d/swapchain.c
View file @
20f51c29
...
...
@@ -334,9 +334,6 @@ static HRESULT WINAPI IWineD3DSwapChainImpl_Present(IWineD3DSwapChain *iface, CO
surface_load_location
(
This
->
back_buffers
[
0
],
SFLAG_INTEXTURE
,
NULL
);
surface_modify_location
(
This
->
back_buffers
[
0
],
SFLAG_INDRAWABLE
,
FALSE
);
This
->
render_to_fbo
=
TRUE
;
/* Force the context manager to update the render target configuration next draw. */
context
->
current_rt
=
NULL
;
}
if
(
This
->
render_to_fbo
)
...
...
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