File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ + (CCConfiguration *)sharedConfiguration
91
91
{
92
92
if (!_sharedConfiguration){
93
93
_sharedConfiguration = [[self alloc ] init ];
94
- [_sharedConfiguration configure ];
95
94
}
96
95
97
96
return _sharedConfiguration;
Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ - (void) prepareOpenGL
166
166
GLint swapInt = 1 ;
167
167
[[self openGLContext ] setValues: &swapInt forParameter: NSOpenGLCPSwapInterval ];
168
168
169
- // Force the configuration to init as early as possible.
170
- [CCConfiguration sharedConfiguration ];
169
+ // Force the graphics API to be set up as early as possible.
170
+ [[ CCConfiguration sharedConfiguration ] graphicsAPI ];
171
171
172
172
// GLint order = -1;
173
173
// [[self openGLContext] setValues:&order forParameter:NSOpenGLCPSurfaceOrder];
You can’t perform that action at this time.
0 commit comments