vlc | branch: master | Marvin Scholz <[email protected]> | Fri Feb  2 13:08:34 
2018 +0100| [a938b7a08e731b4c42b0d1dcb04b773ec33ffbe1] | committer: Marvin 
Scholz

vout/macosx: Remove HiDPI scaling

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a938b7a08e731b4c42b0d1dcb04b773ec33ffbe1
---

 modules/video_output/macosx.m | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 0ab61fc52b..290d2fd462 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -377,10 +377,6 @@ static int Control (vout_display_t *vd, int query, va_list 
ap)
                 /* we always use our current frame here, because we have some 
size constraints
                  in the ui vout provider */
                 vout_display_cfg_t cfg_tmp = *cfg;
-                /* on HiDPI displays, the point bounds don't equal the actual 
pixel based bounds */
-                NSRect bounds = [sys->glView convertRectToBacking:[sys->glView 
bounds]];
-                cfg_tmp.display.width = bounds.size.width;
-                cfg_tmp.display.height = bounds.size.height;
 
                 /* Reverse vertical alignment as the GL tex are Y inverted */
                 if (cfg_tmp.align.vertical == VOUT_DISPLAY_ALIGN_TOP)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to