Пример #1
0
        //Free all the resources assosiated with the font.
        public void clean()
        {
            if (!initialized)
            {
                return;
            }

            // clear the lists and textures
            glView.glDeleteLists(list_base, 128);
            glView.glDeleteTextures(128, textures);

            // remove the reference
            glView = null;

            // flag as uninitialized
            initialized = false;
        }