Texture loading function keeps returning texture into RAM |
luca00555
|
Oh, the title is a bit misleading, the SDL_Texture* texture will receive the returned texture, but newTexture will stay floating in RAM.
|
|||||||||||
|
luca00555
|
Instead of deleting itself.
The edit button really sould be enabled.... |
|||||||||||
|
Texture loading function keeps returning texture into RAM |
MrOzBarry
|
I'm sort of confused; newTexture appears to be the SDL_Texture* that you are returning, so it wouldn't make sense that you would free it until you are done with it. It looks like loadedSurface is being dealt with properly. With that in mind, I have no idea which variable isn't being freed that you expect to be freed.
On Sat, Feb 28, 2015 at 6:31 PM, luca00555 wrote:
|
|||||||||||||
|
Texture loading function keeps returning texture into RAM |
Jared Maddox
Guest
|
Obviously you wrote the original message on the forum. I, however, am reading it on the automatically synchronized mailinglist. Thus, the edit button CAN'T be enabled, because email doesn't support editing after you've hit "send". _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|