Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
fe1629bf
Commit
fe1629bf
authored
Apr 11, 2011
by
Laurent Aimar
Browse files
Direct2D/3D does not need to clamp to display size.
parent
b282e00c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/msw/common.c
View file @
fe1629bf
...
...
@@ -403,10 +403,9 @@ void UpdateRects(vout_display_t *vd,
#endif
#if defined(MODULE_NAME_IS_directx)
|| defined(MODULE_NAME_IS_direct3d) || defined(MODULE_NAME_IS_direct2d)
#if defined(MODULE_NAME_IS_directx)
/* UpdateOverlay directdraw function doesn't automatically clip to the
* display size so we need to do it otherwise it will fail
* It is also needed for d3d to avoid exceding our surface size */
* display size so we need to do it otherwise it will fail */
/* Clip the destination window */
if
(
!
IntersectRect
(
&
rect_dest_clipped
,
&
rect_dest
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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