Skip to content

Commit a40a797

Browse files
committed
Increased SDF texture font size
1 parent 8b3522a commit a40a797

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/Stareater.UI.WinForms/GLData/TextRenderUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static TextRenderUtil Get
2424
}
2525
#endregion
2626

27-
const float SdfFontSize = 24;
27+
const float SdfFontSize = 35;
2828
const int SdfPadding = 4;
2929

3030
public const float AntialiasPixelSize = SdfFontSize / SdfPadding / 2;

source/Stareater.UI.WinForms/GLData/TextureUtils.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public static void UpdateTexture(int textureId, ColorMap image)
7777
}
7878

7979
textureSizes[textureId] = new Vector2(image.Width, image.Height);
80-
GL.GenerateMipmap(GenerateMipmapTarget.Texture2D); //TODO(v0.9) make custom mipmap algorithm
8180
ShaderLibrary.PrintGlErrors("UpdateTexture generate mipmaps");
8281
}
8382

0 commit comments

Comments
 (0)