[vlc-commits] directdraw: remove test on unused pool
Steve Lhomme
git at videolan.org
Mon Feb 25 16:41:18 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Feb 25 16:26:47 2019 +0100| [3525276eff2f8ca1235827145662f580fefae5d0] | committer: Steve Lhomme
directdraw: remove test on unused pool
We assume we always have a "pool", a front_surface in this case.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3525276eff2f8ca1235827145662f580fefae5d0
---
modules/video_output/win32/directdraw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/video_output/win32/directdraw.c b/modules/video_output/win32/directdraw.c
index 7ae3a49003..e436d26ca5 100644
--- a/modules/video_output/win32/directdraw.c
+++ b/modules/video_output/win32/directdraw.c
@@ -1306,8 +1306,6 @@ static int DirectXUpdateOverlay(vout_display_t *vd, LPDIRECTDRAWSURFACE2 surface
}
if (!surface) {
- if (!sys->sys.pool)
- return VLC_EGENERIC;
surface = sys->front_surface;
}
More information about the vlc-commits
mailing list