Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f0d84d01
Commit
f0d84d01
authored
Sep 17, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartztext: Use 10.4 compatible alternative to kCGColorBlack
parent
fa78d3b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/misc/quartztext.c
modules/misc/quartztext.c
+2
-1
No files found.
modules/misc/quartztext.c
View file @
f0d84d01
...
...
@@ -1234,7 +1234,8 @@ static offscreen_bitmap_t *Compose( int i_text_align, UniChar *psz_utf16_str, ui
CGContextSetRGBStrokeColor
(
p_context
,
0
,
0
,
0
,
0
.
5
);
CGContextSetTextDrawingMode
(
p_context
,
kCGTextFillStroke
);
CGContextSetShadow
(
p_context
,
CGSizeMake
(
0
,
0
),
5
);
CGContextSetShadowWithColor
(
p_context
,
CGSizeMake
(
0
,
0
),
5
,
CGColorGetConstantColor
(
kCGColorBlack
));
float
black_components
[
4
]
=
{
1
,
1
,
1
,
1
};
CGContextSetShadowWithColor
(
p_context
,
CGSizeMake
(
0
,
0
),
5
,
CGColorCreate
(
kCGColorSpaceGenericRGB
,
black_components
));
do
{
// ATSUBreakLine will automatically pick up any manual '\n's also
...
...
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