-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the context3D disposed problem.refer to adobe release note:
"Applications need to handle device loss. Device loss occurs when the underlying gpu rendering context becomes unavailable to the application. The easiest ways to trigger device loss are to hit control+alt+delete on a Windows machine, or rotate an Android device while running an AIR app whose app descriptor includes <autoOrients>true</autoOrients>. You may experience device loss after navigating away from an application and then coming back to it. In all of these cases, the underlying gpu context must be recreated and all your existing gpu resources become invalid. Event.CONTEXT3D_CREATE will be fired when device loss occurs. The application should handle this event by re-uploading textures and reconstructing vertex and index buffers. " Conflicts: src/away3d/entities/SegmentSet.as src/away3d/textures/TextureProxyBase.as
- Loading branch information
1 parent
47ca01f
commit 62f0679
Showing
8 changed files
with
162 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.