Author Topic: Something wrong in CS  (Read 638 times)

Roc0

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Something wrong in CS
« on: February 05, 2005, 08:18:52 pm »
I have a problem running the server using last code of Crystal Space (since the beginning of Jenuary): debugging the code I noticed something wrong in csLoader::LoadTexture in fact when the texture whose name is given in input need to be resized the iImage in output (as the last parameter of the function) is invalid; in fact it is not increfed because it is considered to be kept alive being contained in the object returned (pointed by iTextureHandle), but, when the image need to be resized, the one contained in the object returned is another one (the resized one) created copying the other. In this case (for instance art/effects/rocUV.png) the iImage pointer returned is broken making the server crash. Has some other noticed this error?

dragonfire999

  • Hydlaa Notable
  • *
  • Posts: 938
    • View Profile
(No subject)
« Reply #1 on: February 05, 2005, 08:33:04 pm »
i have

Quote
= <3

DeviantArt