Closed Jebbs closed 10 years ago
RenderTarget's destructor currently delete's the pointer to the sfTexture, and the Texture's constructor tries to do the same. Only one should free the memory of the sfTexture.(probably the Texture class)
RenderTarget's destructor currently delete's the pointer to the sfTexture, and the Texture's constructor tries to do the same. Only one should free the memory of the sfTexture.(probably the Texture class)