CAEAGLLayer *eaglLayer = (CAEAGLLayer *) self.layer;
eaglLayer.drawableProperties = @{
kEAGLDrawablePropertyRetainedBacking: [NSNumber numberWithBool:YES],
kEAGLDrawablePropertyColorFormat: kEAGLColorFormatRGBA8
};
set
kEAGLDrawablePropertyRetainedBacking = YES
(I do not know why this tip is going well..///)
More Related Contents:
- What are Unwind segues for and how do you use them?
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- How to force a UIViewController to Portrait orientation in iOS 6
- UILabel sizeToFit doesn’t work with autolayout ios6
- Is it possible to install iOS 6 SDK on Xcode 5?
- How to correctly linearize depth in OpenGL ES in iOS?
- File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass?
- iOS 6: How do I restrict some views to portrait and allow others to rotate?
- Detect if the app was launched/opened from a push notification
- Asynchronous downloading of images for UITableView with GCD
- shouldAutorotateToInterfaceOrientation not being called in iOS 6
- Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5
- App crashed in iOS 6 when user changes Contacts access permissions
- UICollectionView flowLayout not wrapping cells correctly
- Facebook SDK 3.1 – Error validating access token
- Tutorial for SLComposeViewController sharing [closed]
- What is the meaning of the “no index path for table cell being reused” message in iOS 6/7?
- dismissModalViewControllerAnimated deprecated
- How to switch to different Storyboard for iPhone 5?
- iOS4: how do I use video file as an OpenGL texture?
- The operation couldn’t be completed. (com.facebook.sdk error 2.) ios6
- Sprite Kit & playing sound leads to app termination
- is groupTableViewBackgroundColor deprecated on iOS 6?
- preferredInterfaceOrientationForPresentation must return a supported interface orientation
- nib but didn’t get a UITableView
- Facebook SDK 3.1 for iOS – runs on iOS6, but crashes on iOS 5.x
- Confused about Orthographic Projection of camera in SceneKit
- How to send multiple parameterts to PHP server in HTTP post
- iOS: is Core Graphics implemented on top of OpenGL?
- Dynamically getting height of UILabel according to Text return different Value for iOS 7.0 and iOS 6.1