Author Topic: Texture.keepPixelData(..) working correct?  (Read 1080 times)

Offline raft

  • quad
  • ******
  • Posts: 1972
    • View Profile
    • http://www.aptalkarga.com
Texture.keepPixelData(..) working correct?
« 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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Texture.keepPixelData(..) working correct?
« Reply #1 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.