Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualRobinsonUK

Posted 08 March 2012 - 02:30 AM

When you say unload, you mean delete the texture?


glDeleteTextures(1, &tex_2d);

The above will delete the texture.

#2RobinsonUK

Posted 08 March 2012 - 02:30 AM

When you say unload, you mean delete the texture?


	  glDeleteTextures(1, &tex_2d);

The above will delete the texture.

#1RobinsonUK

Posted 08 March 2012 - 02:15 AM

When you say unload, you mean delete the texture?


if(tex_2d != GL_INVALID_INDEX)
{
      glDeleteTextures(1, &tex_2d);
}

The above will delete the texture.

PARTNERS