[vlc-devel] [PATCH 39/41] direct3d9: no need to init the display area
Steve Lhomme
robux4 at ycbcr.xyz
Fri Mar 22 16:14:17 CET 2019
The forced UpdateRects a few lines down will set everything properly.
By default it's initialized to an empty rectangle.
---
modules/video_output/win32/direct3d9.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 5a5c382b6b..34a15f9002 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1480,12 +1480,6 @@ static int Direct3D9Open(vout_display_t *vd, video_format_t *fmt,
const d3d9_device_t *p_d3d9_dev = &sys->d3d_dev;
/* */
- RECT *display = &vd->sys->sys.area.rect_display;
- display->left = 0;
- display->top = 0;
- display->right = p_d3d9_dev->pp.BackBufferWidth;
- display->bottom = p_d3d9_dev->pp.BackBufferHeight;
-
*fmt = vd->source;
/* Find the appropriate D3DFORMAT for the render chroma, the format will be the closest to
--
2.17.1
More information about the vlc-devel
mailing list