示例#1
0
        /// <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);
        }
示例#2
0
        /// <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);
        }