anchor.diff:              GL.BindTexture(target, 0)
               GL.Check "could not unbind texture"
   
  -          
           let downloadTexture2D (t : Texture) (level : int) (image : PixImage) =
               downloadTexture2DInternal TextureTarget.Texture2D true t level image
   
  
positive.code: 
      end
  
  
  module TextureExtensionsNew =
      
      open Microsoft.FSharp.NativeInterop
  
      module private StructTypes = 
  
negative.code:             t.Count <- 1
              t.Dimension <- TextureDimension.TextureCube
  
          let uploadTexture2DBitmap (t : Texture) (mipMaps : bool) (bmp : BitmapTexture) =
              let size = V2i(bmp.Bitmap.Width, bmp.Bitmap.Height)
              let expectedLevels = Fun.Min(size.X, size.Y) |> Fun.Log2 |> Fun.Ceiling |> int //int(Fun.Ceiling(Fun.Log2(Fun.Min(size.X, size.Y))))
  