www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: raft on December 22, 2010, 06:00:43 pm

Title: Texture.keepPixelData(..) working correct?
Post by: raft on December 22, 2010, 06:00:43 pm
even if i call Texture.keepPixelData(false), after a GL context loss, all textures are in place. how is this happening?
Title: Re: Texture.keepPixelData(..) working correct?
Post by: EgonOlsen on December 22, 2010, 06:25:18 pm
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.