[vulkan] Use tex_a instead of tex_l for glyphs

While it doesn't really make any difference to the texture upload (8-bit
is 8-bit), and the sampler is in control of the interpretation, this
makes vulkan more consistent with the specification of the glyph
texture.
This commit is contained in:
Bill Currie 2022-12-05 17:13:32 +09:00
parent 113e4d5cf0
commit a9745d0540

View file

@ -1423,7 +1423,7 @@ Vulkan_Draw_AddFont (rfont_t *rfont, vulkan_ctx_t *ctx)
tex_t tex = { tex_t tex = {
.width = rfont->scrap.width, .width = rfont->scrap.width,
.height = rfont->scrap.height, .height = rfont->scrap.height,
.format = tex_l, .format = tex_a,
.loaded = 1, .loaded = 1,
.data = rfont->scrap_bitmap, .data = rfont->scrap_bitmap,
}; };