]> git.sesse.net Git - vlc/commit
vout_ios2: take into account scale of attached screen
authorGleb Pinigin <gpinigin@gmail.com>
Fri, 2 Aug 2013 12:41:55 +0000 (19:41 +0700)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 3 Aug 2013 08:46:01 +0000 (10:46 +0200)
commit437aa16c7a99839889db6bcc4356a2789e71503c
tree49540610ed9a1efde4185ea1da664abe134d84bb
parent5221b6f019cda2be24dac0042103cedb3e1e3642
vout_ios2: take into account scale of attached screen

As said in Apple documentation drawRect should not be implemented for view based on opengl es layer.
Instead contentScaleFactor should be changed manually if needed. Underlying opengl es layer will adjust its scale accordingly.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
modules/video_output/ios2.m