diff options
author | chai <chaifix@163.com> | 2021-10-29 13:36:49 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 13:36:49 +0800 |
commit | 91c32cb173201ac8803a1e4452e8342969b8e484 (patch) | |
tree | 5e78c485b5fcfcf839a2348667597d7e10476214 /Runtime/Graphics/UIQuad.cpp | |
parent | 1f92d4c389cceba6f90261d9cb29885c8a3ca24c (diff) |
*GLSL test
Diffstat (limited to 'Runtime/Graphics/UIQuad.cpp')
-rw-r--r-- | Runtime/Graphics/UIQuad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Graphics/UIQuad.cpp b/Runtime/Graphics/UIQuad.cpp index fb5964f..73cf645 100644 --- a/Runtime/Graphics/UIQuad.cpp +++ b/Runtime/Graphics/UIQuad.cpp @@ -49,7 +49,7 @@ void UIQuad::Draw() for (int i = 0; i < nVerts; ++i) { - dst[i].position.Set(pos[3 * i], pos[3 * i + 1]); + dst[i].position.Set(pos[2 * i], pos[2 * i + 1]); dst[i].uv.Set(uv[2 * i], uv[2 * i + 1]); } |