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
1ac07906
Commit
1ac07906
authored
Jan 09, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fix double unlock of critical section.
parent
295a0cdd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
surface.c
dlls/ddraw/surface.c
+5
-4
No files found.
dlls/ddraw/surface.c
View file @
1ac07906
...
...
@@ -2333,14 +2333,15 @@ IDirectDrawSurfaceImpl_SetSurfaceDesc(IDirectDrawSurface7 *iface,
if
(
hr
!=
WINED3D_OK
)
{
/* No need for a trace here, wined3d does that for us */
LeaveCriticalSection
(
&
ddraw_cs
);
switch
(
hr
)
{
case
WINED3DERR_INVALIDCALL
:
return
DDERR_INVALIDPARAMS
;
default:
break
;
/* Go on */
case
WINED3DERR_INVALIDCALL
:
LeaveCriticalSection
(
&
ddraw_cs
);
return
DDERR_INVALIDPARAMS
;
default:
break
;
/* Go on */
}
}
}
This
->
surface_desc
=
*
DDSD
;
...
...
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