Add support for arm64 simulator

This commit is contained in:
Ali
2020-12-16 22:48:17 +04:00
parent 62776c0a97
commit 049f518beb
52 changed files with 529 additions and 10746 deletions

View File

@@ -236,6 +236,10 @@ static void TGDispatchOnMainThread(dispatch_block_t block) {
- (void)loadGL
{
#if TARGET_OS_SIMULATOR && defined(__aarch64__)
return;
#endif
if (/*[[UIApplication sharedApplication] applicationState] != UIApplicationStateBackground*/true && !_isOpenGLLoaded)
{
context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];