mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
fix(font): use correct texture format and clamp to edge for font atlas
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user