fix(font): use correct texture format and clamp to edge for font atlas

This commit is contained in:
2026-07-12 20:33:24 +08:00
parent cb1eb25e7b
commit d00ada1391
2 changed files with 6 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ enum TextureFormat : GLenum {
RGBA16F = GL_RGBA16F,
RED = GL_RED,
RGBA = GL_RGBA,
R8 = GL_R8,
RGB = GL_RGB,
RGBA8 = GL_RGBA8,