Build 0.18.0.0

This commit is contained in:
Markus Isberg
2022-05-13 00:55:52 +09:00
parent 15d18e6ff6
commit 7547a9b78a
218 changed files with 3881 additions and 2192 deletions

View File

@@ -35,6 +35,7 @@ namespace Microsoft.Xna.Framework.Graphics
format.GetGLFormat(GraphicsDevice, out glInternalFormat, out glFormat, out glType);
Threading.BlockOnUIThread(() =>
{
var prev = GraphicsExtensions.GetBoundTexture2D();
GenerateGLTextureIfRequired();
int w = width;
int h = height;
@@ -80,6 +81,8 @@ namespace Microsoft.Xna.Framework.Graphics
h = h / 2;
++level;
}
GL.BindTexture(TextureTarget.Texture2D, prev);
});
}