Added check in contextValid() method for empty context.driverInfo String#720
Closed
vpmedia wants to merge 1 commit intoGamua:masterfrom
vpmedia:master
Closed
Added check in contextValid() method for empty context.driverInfo String#720vpmedia wants to merge 1 commit intoGamua:masterfrom vpmedia:master
vpmedia wants to merge 1 commit intoGamua:masterfrom
vpmedia:master
Conversation
Contributor
Author
|
The exception which I'm trying to solve..: Maybe connected to #627 ? |
Contributor
|
Thanks, Andrew, that's interesting! Did you literally see in your logs that the In any case, it wouldn't surprise me if Adobe's engineers forgot to set the correct string in some situations. |
Contributor
Author
|
Yes, I'm logging the driverInfo string to php and it's an empty string (NOT null) |
Contributor
|
Thanks for the information, I was not aware of that! |
Contributor
Author
|
Thanks, I'll try to re-test the issue with my app (Losing context while uploading textures). |
Oldes
pushed a commit
to Oldes/Starling-Framework
that referenced
this pull request
Jun 4, 2015
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi!
I've noticed in some exception log files that the Context3D.driverInfo string can be empty, and in this case the context is also invalid. (The Context3D.profile has null value both when the string is empty "''" or 'Disposed'). The problem occurs mostly using Flash Player 16.X.
Just for note: the documentation about the possible values is not really detailed: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display3D/Context3D.html#driverInfo
Best regards!
Andrew