Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed setup order on context creation to avoid needless texture re-…

…initializations
  • Loading branch information...
commit 25f100881f770bc82f45aa4b1f453deacf5def1b 1 parent d74c9a0
@PrimaryFeather PrimaryFeather authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 starling/src/starling/core/Starling.as
View
4 starling/src/starling/core/Starling.as
@@ -343,10 +343,10 @@ package starling.core
makeCurrent();
initializeGraphicsAPI();
- initializeRoot();
+ dispatchEvent(new starling.events.Event(starling.events.Event.CONTEXT3D_CREATE));
+ initializeRoot();
mTouchProcessor.simulateMultitouch = mSimulateMultitouch;
- dispatchEvent(new starling.events.Event(starling.events.Event.CONTEXT3D_CREATE));
}
private function onEnterFrame(event:Event):void
Please sign in to comment.
Something went wrong with that request. Please try again.