diff options
author | chai <chaifix@163.com> | 2021-11-02 09:30:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-02 09:30:25 +0800 |
commit | b7511abf1a1f302b5c7ebf50faaf65b62d7bb6ed (patch) | |
tree | 7265398e248b55ede4b3550ec47660be334bf1ff /Runtime/Graphics/VertexAttribute.cpp | |
parent | a11097e51fcaef4488218411f2d7b3ee34550000 (diff) |
* TextMesh
Diffstat (limited to 'Runtime/Graphics/VertexAttribute.cpp')
-rw-r--r-- | Runtime/Graphics/VertexAttribute.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Runtime/Graphics/VertexAttribute.cpp b/Runtime/Graphics/VertexAttribute.cpp index 0b0e8e4..e5f2ea7 100644 --- a/Runtime/Graphics/VertexAttribute.cpp +++ b/Runtime/Graphics/VertexAttribute.cpp @@ -8,7 +8,8 @@ namespace VertexAttribute GL_FLOAT, // VertexAttrFormat_Float GL_HALF_FLOAT, // VertexAttrFormat_Float16 GL_UNSIGNED_BYTE, // VertexAttrFormat_Color - GL_BYTE // VertexAttrFormat_Byte + GL_BYTE, // VertexAttrFormat_Byte + GL_UNSIGNED_BYTE, // VertexAttrFormat_Unsigned_Byte }; GLenum ConvertAttrFormatToGLFormat(uint fmt) |