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
9191{
9292 if (!_sharedConfiguration){
9393 _sharedConfiguration = [[self alloc ] init ];
94- [_sharedConfiguration configure ];
9594 }
9695
9796 return _sharedConfiguration;
Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ - (void) prepareOpenGL
166166 GLint swapInt = 1 ;
167167 [[self openGLContext ] setValues: &swapInt forParameter: NSOpenGLCPSwapInterval ];
168168
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 ];
171171
172172// GLint order = -1;
173173// [[self openGLContext] setValues:&order forParameter:NSOpenGLCPSurfaceOrder];
You can’t perform that action at this time.
0 commit comments