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
e0241349
Commit
e0241349
authored
Jul 18, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Jul 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dirty the surface (instead of the texture) when a render targets is
send and endscene is called to make sure that the correct surface is updated.
parent
f35f2591
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
device.c
dlls/wined3d/device.c
+2
-2
No files found.
dlls/wined3d/device.c
View file @
e0241349
...
@@ -4377,8 +4377,8 @@ HRESULT WINAPI IWineD3DDeviceImpl_EndScene(IWineD3DDevice *iface) {
...
@@ -4377,8 +4377,8 @@ HRESULT WINAPI IWineD3DDeviceImpl_EndScene(IWineD3DDevice *iface) {
switching to render-to-texture should remove the overhead though.
switching to render-to-texture should remove the overhead though.
*/
*/
IWineD3DSurface_SetPBufferState
(
This
->
renderTarget
,
TRUE
/* inPBuffer */
,
FALSE
/* inTexture */
);
IWineD3DSurface_SetPBufferState
(
This
->
renderTarget
,
TRUE
/* inPBuffer */
,
FALSE
/* inTexture */
);
IWineD3D
BaseTexture_SetDirty
((
IWineD3DBaseTexture
*
)
targetContainer
,
TRUE
);
IWineD3D
Surface_AddDirtyRect
(
This
->
renderTarget
,
NULL
);
IWineD3D
BaseTexture_PreLoad
((
IWineD3DBaseTexture
*
)
targetContainer
);
IWineD3D
Surface_PreLoad
(
This
->
renderTarget
);
IWineD3DSurface_SetPBufferState
(
This
->
renderTarget
,
FALSE
/* inPBuffer */
,
FALSE
/* inTexture */
);
IWineD3DSurface_SetPBufferState
(
This
->
renderTarget
,
FALSE
/* inPBuffer */
,
FALSE
/* inTexture */
);
IUnknown_Release
(
targetContainer
);
IUnknown_Release
(
targetContainer
);
}
else
}
else
...
...
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