Closed SmikeSix closed 11 years ago
Hi Sandler - I'm not able to reproduce this error.
I fixed a load of context loss bugs a little while ago, and I notice that the latest version of StandardMaterial has a blank line at line 135 - is it possible you're not running against the latest version of the extension?
If you are - any other information you could give me to help track this down would be most appreciated.
Hey you´r right. My github build was not up to date (even if it showed that it was, had to reinstall it) Can be closed! And thanks for the fast replay
No problem - glad it's working!
Hi im running into the issue that on context lost(via strg+alt+del) following null pointer exception gets thrown: at starling.display.materials::StandardMaterial/drawTriangles() ... StandardMaterial.as:135
Thats the code inside of StatusBar.as
var bgRect : Shape = new Shape(); bgRect.graphics.clear(); bgRect.graphics.lineStyle(1, 0x000000, 0.5); bgRect.graphics.beginFill(0xFFFFFF, 1); bgRect.graphics.drawRoundRect(0, 0, 155, 55, 12); // borderCorner); bgRect.graphics.endFill(); this.addChild(bgRect);