예제 #1
0
 private static void FreeLoadInfo(ref DDSLoadInfo info)
 {
     if (IntPtr.Size == 8)
     {
         DdsIO_x64.FreeLoadInfo(ref info);
     }
     else
     {
         DdsIO_x86.FreeLoadInfo(ref info);
     }
 }
예제 #2
0
 public void Dispose()
 {
     if (!this.disposed)
     {
         this.disposed = true;
         if (IntPtr.Size == 8)
         {
             DdsIO_x64.FreeLoadInfo(ref this.info);
         }
         else
         {
             DdsIO_x86.FreeLoadInfo(ref this.info);
         }
     }
 }