Author Topic: Problem: unload textures  (Read 7674 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Problem: unload textures
« Reply #15 on: April 07, 2011, 09:47:35 pm »
Loading the textures is simply creating a new texture and adding it to the texture manager. Just like any other application that uses jPCT or jPCT-AE does. That can't be the source of your problem. You can take the HelloWorld code as an example. It doesn't matter if you load a model by using Loader or by creating it via Primitives like HelloWorld does. Your problem seems to be related to Android's Activity management and not to loading textures...that's just a symptom.

Offline rasec_jc

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Problem: unload textures
« Reply #16 on: April 08, 2011, 06:17:17 am »
I got to solve the problem \o/ I remove the onDestroy method..
Thanks for you help =)