blob: f10b3e9b03006a6104b136e4dcc515380d44f6a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#import "MGLFoundation.h"
#import <OpenGLES/EAGL.h>
@interface EAGLContext (MGLAddtions)
extern NSString *const MapboxEAGLContextWillSwitchNotificationKey;
extern NSString *const MapboxEAGLContextDidFinishSwitchedNotificationKey;
//should be called before [EAGLContext setCurrentContext:]
+ (void)becomeMapboxContext:(EAGLContext *)context;
//should be called during Map dealloc
+ (void)destoryMapboxContext;
@end
|