Texture.keepPixelData(..) working correct?

Started by raft, December 22, 2010, 06:00:43 PM

Previous topic - Next topic

raft

even if i call Texture.keepPixelData(false), after a GL context loss, all textures are in place. how is this happening?

EgonOlsen

I introduced keepPixelData() at first because i had removed Config.glAvoidTextureCopies. Later, i added it back again for some reason and now, the logic is a crude mix of both...it's pretty stupid this way. I think, i'm going to remove the setting from Config again and default keepPixelData() to true instead.