switch to a monochrome texture for the font rendering

This commit is contained in:
Jonathan Marler 2025-01-13 22:15:11 -07:00
parent 5b83619f7a
commit 27f256a7c5
3 changed files with 22 additions and 28 deletions

View file

@ -678,7 +678,7 @@ const GlyphTexture = struct {
.Height = size.y,
.MipLevels = 1,
.ArraySize = 1,
.Format = .B8G8R8A8_UNORM,
.Format = .A8_UNORM,
.SampleDesc = .{ .Count = 1, .Quality = 0 },
.Usage = .DEFAULT,
.BindFlags = .{ .SHADER_RESOURCE = 1 },