Hi there,
I have a problem. I want to use textures as buffer, but if i use texture.Destroy() they wont be drawn correctly anymore (no matter where i call texture.Destroy, even after renderer.Present()). I dont get the sequence of stuff to do to get this working. If I dont delete the texture it will be drawn fine but then I’ll have a huge memory leak. If graphics are created dynamically, they should be disposed after usage.
Create Texture
Set Texture As Target
Draw Stuff
Set Default Target (Window)
Copy Texture
Delete Texture
Maybe a code example and image will help.
Language: Go
forgive me my english, im german
M