Hai, i have to change texture when user click a button. How to change texture in runtime? i try add texture to texture manager and setTexture in onDrawFrame, but it not working, have error out of memory. Thank you.
Then your texture is simply too large. The way you are doing it is actually fine, just make sure that the texture has a reasonable size. How large was it?