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
d10d9560
Commit
d10d9560
authored
Nov 30, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make blend_subpixel inline.
parent
27b0b936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
primitives.c
dlls/gdi32/dibdrv/primitives.c
+1
-1
No files found.
dlls/gdi32/dibdrv/primitives.c
View file @
d10d9560
...
...
@@ -5153,7 +5153,7 @@ static void draw_glyph_null( const dib_info *dib, const RECT *rect, const dib_in
return
;
}
static
DWORD
blend_subpixel
(
BYTE
r
,
BYTE
g
,
BYTE
b
,
DWORD
text
,
DWORD
alpha
)
static
inline
DWORD
blend_subpixel
(
BYTE
r
,
BYTE
g
,
BYTE
b
,
DWORD
text
,
DWORD
alpha
)
{
return
blend_color
(
r
,
text
>>
16
,
(
BYTE
)(
alpha
>>
16
)
)
<<
16
|
blend_color
(
g
,
text
>>
8
,
(
BYTE
)(
alpha
>>
8
)
)
<<
8
|
...
...
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