Fix incorrect ST coordinate reading

This commit is contained in:
Luke Benstead 2021-04-07 20:36:03 +01:00
parent a7ef07df4c
commit 1d14478802

View File

@ -651,7 +651,7 @@ GL_FORCE_INLINE void _readSTData(const GLuint first, const GLuint count, VertexE
const GLubyte ststride = (ST_POINTER.stride) ? ST_POINTER.stride : ST_POINTER.size * byte_size(ST_POINTER.type);
const void* stptr = ((GLubyte*) ST_POINTER.ptr + (first * ststride));
ReadUVFunc func = calcReadUVFunc();
ReadUVFunc func = calcReadSTFunc();
GLubyte* out = (GLubyte*) extra[0].st;
ITERATE(count) {