diff options
author | Starla Insigna <starla4444@gmail.com> | 2013-01-03 16:54:11 -0500 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2013-01-03 16:54:11 -0500 |
commit | 4ffbefdfc753770e56e23e471e2f5b9806bd114b (patch) | |
tree | bd24ba5a58fe6be134c7850abd8fffb5279e4308 /libs/cocos2d/ccMacros.h | |
parent | ba19dd3f2517a95e09dcfe288a781c6f335b5e81 (diff) | |
download | cartcollect-4ffbefdfc753770e56e23e471e2f5b9806bd114b.tar.gz cartcollect-4ffbefdfc753770e56e23e471e2f5b9806bd114b.tar.bz2 cartcollect-4ffbefdfc753770e56e23e471e2f5b9806bd114b.zip |
Fixed freezing issue with selection screen
Diffstat (limited to 'libs/cocos2d/ccMacros.h')
-rwxr-xr-x | libs/cocos2d/ccMacros.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/cocos2d/ccMacros.h b/libs/cocos2d/ccMacros.h index 4e08725..a4c8821 100755 --- a/libs/cocos2d/ccMacros.h +++ b/libs/cocos2d/ccMacros.h | |||
@@ -156,7 +156,6 @@ default gl blend src function. Compatible with premultiplied alpha images. | |||
156 | #define CC_DIRECTOR_INIT() \ | 156 | #define CC_DIRECTOR_INIT() \ |
157 | do { \ | 157 | do { \ |
158 | window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; \ | 158 | window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; \ |
159 | if( ! [CCDirector setDirectorType:kCCDirectorTypeDisplayLink] ) \ | ||
160 | [CCDirector setDirectorType:kCCDirectorTypeNSTimer]; \ | 159 | [CCDirector setDirectorType:kCCDirectorTypeNSTimer]; \ |
161 | CCDirector *__director = [CCDirector sharedDirector]; \ | 160 | CCDirector *__director = [CCDirector sharedDirector]; \ |
162 | [__director setDeviceOrientation:kCCDeviceOrientationPortrait]; \ | 161 | [__director setDeviceOrientation:kCCDeviceOrientationPortrait]; \ |