Ejemplo n.º 1
0
 public void Action()
 {
     lock (texture)
     {
         if (texture.textureID > 0)
         {
             if (texture.parent == null)
             {
                 GLEx.DeleteTexture(texture.textureID);
             }
             texture.textureID = -1;
             texture.bufferID  = -1;
         }
         texture.isLoaded = false;
         texture.isClose  = true;
         LTextureBatch.isBatchCacheDitry = true;
     }
 }