iDevGames Forums
Green Screen Bug - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Green Screen Bug (/thread-1107.html)

Green Screen Bug - jjslay - Jun 20, 2009 03:37 PM

Hello everyone,

Currently trying to fix a bug in my game - Im using open gl es and rendering with texture2d - its a PNG based 2d game.

The bug is that every now and then (not every time i play the game) some of the assets on the screen turn semi green or flash totally green then turn back to normal. I thought initially it was some colour/opacity bug related to me not resetting the glColor4f(1, 1, 1, 1);

But it doesnt seem to be- just wondering if its a bug anyone else has experienced to do with the iphone rather than my specific code, maybe running low on memory or something else. Please let me know or if you need more info etc. Thanks Smile

Green Screen Bug - jjslay - Jun 20, 2009 04:55 PM

Just to let everyone know, i finally managed to solve it. It was just a simple error with some vars that i never reset.