Jebbs / DSFML-C

The back end for DSFML
4 stars 3 forks source link

Fix RenderTarget destruction #6

Closed Jebbs closed 10 years ago

Jebbs commented 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)