Update version and changelog

This commit is contained in:
2020-12-16 13:04:46 -08:00
parent dadf38acd5
commit b634eb1e8e
6 changed files with 12 additions and 11 deletions

View File

@ -241,7 +241,7 @@ namespace ConformalDecals.Text {
};
// SETUP TEXTURE
var texture = new Texture2D(textureSize.x, textureSize.y, textTextureFormat, true);
var texture = new Texture2D(textureSize.x, textureSize.y, textTextureFormat, false);
// GENERATE PROJECTION MATRIX
var halfSize = (Vector2) textureSize / PixelDensity / 2 / sizeRatio;
@ -268,7 +268,7 @@ namespace ConformalDecals.Text {
// COPY TEXTURE BACK INTO RAM
var prevRT = RenderTexture.active;
RenderTexture.active = renderTex;
texture.ReadPixels(new Rect(0, 0, textureSize.x, textureSize.y), 0, 0, true);
texture.ReadPixels(new Rect(0, 0, textureSize.x, textureSize.y), 0, 0, false);
texture.Apply(false, true);
RenderTexture.active = prevRT;