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
eabc62db
Commit
eabc62db
authored
Mar 07, 2008
by
Nathan Beckmann
Committed by
Alexandre Julliard
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Update bitmap state in GdipUnlockBitmapBits.
parent
08d49d3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
image.c
dlls/gdiplus/image.c
+1
-0
image.c
dlls/gdiplus/tests/image.c
+2
-4
No files found.
dlls/gdiplus/image.c
View file @
eabc62db
...
...
@@ -226,6 +226,7 @@ GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap* bitmap,
GdipFree
(
bitmap
->
bitmapbits
);
bitmap
->
bitmapbits
=
NULL
;
bitmap
->
lockmode
=
0
;
return
Ok
;
}
...
...
dlls/gdiplus/tests/image.c
View file @
eabc62db
...
...
@@ -237,10 +237,8 @@ static void test_LockBits(void)
}
/* write, consecutive */
todo_wine
{
stat
=
GdipBitmapLockBits
(
bm
,
&
rect
,
ImageLockModeWrite
,
PixelFormat24bppRGB
,
&
bd
);
expect
(
Ok
,
stat
);
}
stat
=
GdipBitmapLockBits
(
bm
,
&
rect
,
ImageLockModeWrite
,
PixelFormat24bppRGB
,
&
bd
);
expect
(
Ok
,
stat
);
if
(
stat
==
Ok
)
{
stat
=
GdipBitmapUnlockBits
(
bm
,
&
bd
);
...
...
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