Fix metal driver for osx. This is safe to do everywhere. (#14963)

This commit is contained in:
warmenhoven 2023-02-10 00:29:23 -05:00 committed by GitHub
parent b9e1e5d132
commit 9195de67c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,9 +174,7 @@
[apple_platform setVideoMode:mode];
#ifdef HAVE_COCOATOUCH
[self mtkView:view drawableSizeWillChange:CGSizeMake(mode.width, mode.height)];
#endif
*input = NULL;
*inputData = NULL;