/// <summary> /// Implementacija IDisposable interfejsa. /// </summary> protected virtual void Dispose(bool disposing) { if (disposing) { // Oslodi managed resurse } // Oslobodi unmanaged resurse m_scene.Dispose(); outFont.Dispose(); Glu.gluDeleteQuadric(gluObject); }
/// <summary> /// Implementacija IDisposable interfejsa. /// </summary> protected virtual void Dispose(bool disposing) { if (disposing) { // Oslodi managed resurse } // Oslobodi unmanaged resurse m_balloon.Dispose(); m_font.Dispose(); Gl.glDeleteTextures(m_textureCount, m_textures); Glu.gluDeleteQuadric(m_gluObj); }