mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Fix tvos metal driver (#14943)
The drawableSizeWillChange notification was never coming, so the viewport size was never getting set properly.
This commit is contained in:
parent
ac2cceb905
commit
338430d1ec
@ -174,6 +174,10 @@
|
|||||||
|
|
||||||
[apple_platform setVideoMode:mode];
|
[apple_platform setVideoMode:mode];
|
||||||
|
|
||||||
|
#ifdef HAVE_COCOATOUCH
|
||||||
|
[self mtkView:view drawableSizeWillChange:CGSizeMake(mode.width, mode.height)];
|
||||||
|
#endif
|
||||||
|
|
||||||
*input = NULL;
|
*input = NULL;
|
||||||
*inputData = NULL;
|
*inputData = NULL;
|
||||||
/* graphics display driver */
|
/* graphics display driver */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user