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
f5e1e3be
Commit
f5e1e3be
authored
Dec 23, 2002
by
Lionel Ulmer
Committed by
Alexandre Julliard
Dec 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have the 'Lock' warning a bit clearer.
parent
f876bf6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
main.c
dlls/ddraw/dsurface/main.c
+4
-4
No files found.
dlls/ddraw/dsurface/main.c
View file @
f5e1e3be
...
@@ -990,10 +990,10 @@ Main_DirectDrawSurface_Lock(LPDIRECTDRAWSURFACE7 iface, LPRECT prect,
...
@@ -990,10 +990,10 @@ Main_DirectDrawSurface_Lock(LPDIRECTDRAWSURFACE7 iface, LPRECT prect,
TRACE
(
"(%p)->Lock(%p,%p,%08lx,%08lx)
\n
"
,
This
,
prect
,
pDDSD
,
flags
,(
DWORD
)
h
);
TRACE
(
"(%p)->Lock(%p,%p,%08lx,%08lx)
\n
"
,
This
,
prect
,
pDDSD
,
flags
,(
DWORD
)
h
);
TRACE
(
" - locking flags : "
);
DDRAW_dump_lockflag
(
flags
);
TRACE
(
" - locking flags : "
);
DDRAW_dump_lockflag
(
flags
);
}
}
if
(
WARN_ON
(
ddraw
))
{
if
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
))
if
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
))
WARN
(
"(%p)->Lock(%p,%p,%08lx,%08lx)
\n
"
,
WARN
(
" - unsupported locking flag : "
);
DDRAW_dump_lockflag
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
));
This
,
prect
,
pDDSD
,
flags
,(
DWORD
)
h
);
}
/* First, copy the Surface description */
/* First, copy the Surface description */
DD_STRUCT_COPY_BYSIZE
(
pDDSD
,
&
(
This
->
surface_desc
));
DD_STRUCT_COPY_BYSIZE
(
pDDSD
,
&
(
This
->
surface_desc
));
...
...
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