mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
[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:
parent
113e4d5cf0
commit
a9745d0540
1 changed files with 1 additions and 1 deletions
|
@ -1423,7 +1423,7 @@ Vulkan_Draw_AddFont (rfont_t *rfont, vulkan_ctx_t *ctx)
|
|||
tex_t tex = {
|
||||
.width = rfont->scrap.width,
|
||||
.height = rfont->scrap.height,
|
||||
.format = tex_l,
|
||||
.format = tex_a,
|
||||
.loaded = 1,
|
||||
.data = rfont->scrap_bitmap,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue