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
aa76490d
Commit
aa76490d
authored
Apr 17, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Use ddb's instead of dib's to create texture brushes.
parent
68ce9e92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
brush.c
dlls/gdiplus/brush.c
+4
-2
No files found.
dlls/gdiplus/brush.c
View file @
aa76490d
...
...
@@ -794,7 +794,7 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
GDIPCONST
GpImageAttributes
*
imageattr
,
REAL
x
,
REAL
y
,
REAL
width
,
REAL
height
,
GpTexture
**
texture
)
{
HBITMAP
hbm
;
HBITMAP
hbm
=
NULL
;
GpStatus
status
;
GpImage
*
new_image
=
NULL
;
...
...
@@ -815,7 +815,7 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
if
(
status
!=
Ok
)
return
status
;
hbm
=
((
GpBitmap
*
)
new_image
)
->
hbitmap
;
status
=
GdipCreateHBITMAPFromBitmap
((
GpBitmap
*
)
new_image
,
&
hbm
,
0
)
;
if
(
!
hbm
)
{
status
=
GenericError
;
...
...
@@ -861,6 +861,8 @@ exit:
TRACE
(
"<-- error %u
\n
"
,
status
);
}
DeleteObject
(
hbm
);
return
status
;
}
...
...
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