Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6ab91ae2
Commit
6ab91ae2
authored
Sep 17, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32text: simplify
parent
60aa14b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/misc/win32text.c
modules/misc/win32text.c
+1
-2
No files found.
modules/misc/win32text.c
View file @
6ab91ae2
...
@@ -344,8 +344,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
...
@@ -344,8 +344,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
SetTextColor
(
p_sys
->
hcdc
,
RGB
(
(
i_font_color
>>
16
)
&
0xff
,
SetTextColor
(
p_sys
->
hcdc
,
RGB
(
(
i_font_color
>>
16
)
&
0xff
,
(
i_font_color
>>
8
)
&
0xff
,
i_font_color
&
0xff
)
);
(
i_font_color
>>
8
)
&
0xff
,
i_font_color
&
0xff
)
);
GetTextExtentExPoint
(
p_sys
->
hcdc
,
psz_string
,
_tcslen
(
psz_string
),
GetTextExtentPoint
(
p_sys
->
hcdc
,
psz_string
,
_tcslen
(
psz_string
),
&
size
);
0
,
0
,
0
,
&
size
);
i_width
=
rect
.
right
=
size
.
cx
;
i_height
=
rect
.
bottom
=
size
.
cy
;
i_width
=
rect
.
right
=
size
.
cx
;
i_height
=
rect
.
bottom
=
size
.
cy
;
p_bmi
=
malloc
(
sizeof
(
BITMAPINFOHEADER
)
+
sizeof
(
RGBQUAD
)
*
16
);
p_bmi
=
malloc
(
sizeof
(
BITMAPINFOHEADER
)
+
sizeof
(
RGBQUAD
)
*
16
);
...
...
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