martindevans / Myre

An XNA game engine
http://martindevans.me/tags/#myre-ref
MIT License
12 stars 3 forks source link

Make RendererComponents disposable #6

Closed martindevans closed 9 years ago

martindevans commented 9 years ago

RendererComponents should have a Dispose method, just like entities. Since they're associated with the graphics engine they often hold onto disposable resources and at the moment never dispose them! e.g. the GetTexturecoordinateData phase in Heist creates an OcclusionQuery but never disposes of it

martindevans commented 9 years ago

Done