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
4266b154
Commit
4266b154
authored
Mar 23, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Mar 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Initialize the ImageAttributes in GdipCreateTexture2I.
parent
42d1d9e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
brush.c
dlls/gdiplus/brush.c
+11
-3
No files found.
dlls/gdiplus/brush.c
View file @
4266b154
...
@@ -940,14 +940,22 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttrib
...
@@ -940,14 +940,22 @@ GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage *image, GDIPCONST GpImageAttrib
GpStatus
WINGDIPAPI
GdipCreateTexture2I
(
GpImage
*
image
,
GpWrapMode
wrapmode
,
GpStatus
WINGDIPAPI
GdipCreateTexture2I
(
GpImage
*
image
,
GpWrapMode
wrapmode
,
INT
x
,
INT
y
,
INT
width
,
INT
height
,
GpTexture
**
texture
)
INT
x
,
INT
y
,
INT
width
,
INT
height
,
GpTexture
**
texture
)
{
{
GpImageAttributes
imageattr
;
GpImageAttributes
*
imageattr
;
GpStatus
stat
;
TRACE
(
"%p %d %d %d %d %d %p
\n
"
,
image
,
wrapmode
,
x
,
y
,
width
,
height
,
TRACE
(
"%p %d %d %d %d %d %p
\n
"
,
image
,
wrapmode
,
x
,
y
,
width
,
height
,
texture
);
texture
);
imageattr
.
wrap
=
wrapmode
;
stat
=
GdipCreateImageAttributes
(
&
imageattr
);
if
(
stat
==
Ok
)
{
imageattr
->
wrap
=
wrapmode
;
return
GdipCreateTextureIA
(
image
,
&
imageattr
,
x
,
y
,
width
,
height
,
texture
);
stat
=
GdipCreateTextureIA
(
image
,
imageattr
,
x
,
y
,
width
,
height
,
texture
);
}
return
stat
;
}
}
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
brush
,
GpBrushType
*
type
)
GpStatus
WINGDIPAPI
GdipGetBrushType
(
GpBrush
*
brush
,
GpBrushType
*
type
)
...
...
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