Beispiel #1
0
 protected override void Dispose(bool disposing)
 {
     if (!IsDisposed)
     {
         GraphicsDevice.Textures.RemoveDisposedTexture(this);
         GraphicsDevice.VertexTextures.RemoveDisposedTexture(this);
         FNA3D.FNA3D_AddDisposeTexture(
             GraphicsDevice.GLDevice,
             texture
             );
     }
     base.Dispose(disposing);
 }