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
d3fd7b24
Commit
d3fd7b24
authored
Nov 11, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Handle rendertargetlock_mode in surface_load_location().
parent
1fa19d8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
surface.c
dlls/wined3d/surface.c
+4
-9
No files found.
dlls/wined3d/surface.c
View file @
d3fd7b24
...
...
@@ -1882,15 +1882,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Unmap(IWineD3DSurface *iface)
This
->
Flags
|=
SFLAG_INSYSMEM
;
}
switch
(
wined3d_settings
.
rendertargetlock_mode
)
{
case
RTL_READTEX
:
surface_load_location
(
This
,
SFLAG_INTEXTURE
,
NULL
/* partial texture loading not supported yet */
);
/* drop through */
case
RTL_READDRAW
:
surface_load_location
(
This
,
SFLAG_INDRAWABLE
,
fullsurface
?
NULL
:
&
This
->
dirtyRect
);
break
;
}
surface_load_location
(
This
,
SFLAG_INDRAWABLE
,
fullsurface
?
NULL
:
&
This
->
dirtyRect
);
if
(
!
fullsurface
)
{
...
...
@@ -4415,6 +4407,9 @@ HRESULT surface_load_location(IWineD3DSurfaceImpl *surface, DWORD flag, const RE
}
else
if
(
flag
==
SFLAG_INDRAWABLE
)
{
if
(
wined3d_settings
.
rendertargetlock_mode
==
RTL_READTEX
)
surface_load_location
(
surface
,
SFLAG_INTEXTURE
,
NULL
);
if
(
surface
->
Flags
&
SFLAG_INTEXTURE
)
{
RECT
r
;
...
...
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