Ejemplo n.º 1
0
 public override void Dispose()
 {
     if (TextureContainer != null)
     {
         //after unload->
         //OwnerActiveTextureUnit will set OwnerActiveTextureUnit property to null
         TextureContainer.UnloadGLBitmap();
     }
     ReleaseServerSideTexture();
     if (_memBitmap != null)
     {
         //notify unused here?
         if (_isOwner)
         {
             _memBitmap.Dispose();
         }
         _memBitmap = null; //***
     }
 }