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
b1e03b32
Commit
b1e03b32
authored
Mar 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Clear SFLAG_LOCKED as soon as possible in IWineD3DSurfaceImpl_Unmap().
parent
eb379608
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
surface.c
dlls/wined3d/surface.c
+4
-4
No files found.
dlls/wined3d/surface.c
View file @
b1e03b32
...
...
@@ -2006,6 +2006,9 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Unmap(IWineD3DSurface *iface)
return
WINEDDERR_NOTLOCKED
;
}
This
->
flags
&=
~
SFLAG_LOCKED
;
memset
(
&
This
->
lockedRect
,
0
,
sizeof
(
This
->
lockedRect
));
if
(
This
->
flags
&
SFLAG_PBO
)
{
const
struct
wined3d_gl_info
*
gl_info
;
...
...
@@ -2080,10 +2083,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Unmap(IWineD3DSurface *iface)
FIXME
(
"Depth Stencil buffer locking is not implemented
\n
"
);
}
unlock_end:
This
->
flags
&=
~
SFLAG_LOCKED
;
memset
(
&
This
->
lockedRect
,
0
,
sizeof
(
RECT
));
unlock_end:
/* Overlays have to be redrawn manually after changes with the GL implementation */
if
(
This
->
overlay_dest
)
This
->
surface_ops
->
surface_draw_overlay
(
This
);
...
...
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