MrLoick / flixel-android

Automatically exported from code.google.com/p/flixel-android
Other
0 stars 0 forks source link

FlxSprite::makeGraphic will lost its context when you switch to home. #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Graphics that are made via FlxSprite::makeGraphic will lose its context when 
hitting the home button or turn the screen off. Example, the background of 
pause menu, the wall in the Particle demo and Tilemap demo. They are made via 
makeGraphic.

What is the expected output? 
The correct color of the FlxSprite.

What do you see instead?
A white rectangle.

Please use labels and text to provide additional information.
It was working int the early versions.

Original issue reported on code.google.com by kawingc...@gmail.com on 22 Mar 2012 at 7:57

GoogleCodeExporter commented 8 years ago
I'm working on a solution to this, using option 2) here: 
http://www.badlogicgames.com/wordpress/?p=2340&cpage=1#comment-109952. This 
will hopefully fix all dynamic textures such as FlxTileblock. I'm going to test 
it and try to commit a fix at some point later today.

Original comment by TSWes...@gmail.com on 24 Mar 2012 at 8:57

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r24.

Original comment by TSWes...@gmail.com on 24 Mar 2012 at 1:03