From 1d144788024e9cc2ef32c2670f4022cb1a11b888 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Wed, 7 Apr 2021 20:36:03 +0100 Subject: [PATCH] Fix incorrect ST coordinate reading --- GL/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GL/draw.c b/GL/draw.c index 1787db4..8a6f73c 100644 --- a/GL/draw.c +++ b/GL/draw.c @@ -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) {