Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Unloading textures

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Posts
    12

    Unloading textures

    When I load textures using gluBuild2DMipmaps or glTexImage2D, this texture is stored in video memory if i am correct.

    Now when I finish my program, how do I unload these textures from video memory???

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    154

    Re: Unloading textures

    You can delete textures with glDeleteTextures..

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •