[MPlayer-cvslog] r38351 - trunk/libvo/osx_objc_common.m

reimar subversion at mplayerhq.hu
Sun Feb 27 11:51:25 EET 2022


Author: reimar
Date: Sun Feb 27 11:51:24 2022
New Revision: 38351

Log:
libvo/osx_objc_common: Fix display issue with retina display.

vo_dwidth/vo_dheight need to be updated immediately
after the window is created.

Modified:
   trunk/libvo/osx_objc_common.m

Modified: trunk/libvo/osx_objc_common.m
==============================================================================
--- trunk/libvo/osx_objc_common.m	Sun Feb 27 11:09:00 2022	(r38350)
+++ trunk/libvo/osx_objc_common.m	Sun Feb 27 11:51:24 2022	(r38351)
@@ -244,6 +244,7 @@ void vo_osx_swap_buffers(void)
 
 	//show window
 	[window makeKeyAndOrderFront:self];
+	[self reshape];
 }
 
 - (void) drawRect: (NSRect *) bounds


More information about the MPlayer-cvslog mailing list