File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,8 @@ class Application extends Module
166166 __vsyncMode = VSyncMode . Off ;
167167
168168 __backend = new ApplicationBackend (this );
169+ __backend .configureFrameTiming (__frameProfile , __frameRate , __copyFrameOptions (__frameOptions ));
170+ __backend .setVSyncMode (__vsyncMode );
169171
170172 __registerLimeModule (this );
171173
@@ -750,8 +752,11 @@ class Application extends Module
750752 __frameConfigured = true ;
751753 }
752754
753- __backend .configureFrameTiming (__frameProfile , __frameRate , __copyFrameOptions (__frameOptions ));
754- __backend .setVSyncMode (__vsyncMode );
755+ if (__backend != null )
756+ {
757+ __backend .configureFrameTiming (__frameProfile , __frameRate , __copyFrameOptions (__frameOptions ));
758+ __backend .setVSyncMode (__vsyncMode );
759+ }
755760 }
756761
757762 @:noCompletion private function __copyFrameOptions (value : FrameOptions ): FrameOptions
You can’t perform that action at this time.
0 commit comments