Skip to content

Commit 3d57b07

Browse files
committed
glBufferUtils: Don't normalize the texture coordinates.
1 parent 63a089c commit 3d57b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRenderGL/glBufferUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void ConvertVertexDeclaration(u32 FVF, SDeclaration* decl)
261261
if (FVF & D3DFVF_TEXCOORDSIZE4(i))
262262
size = 4;
263263

264-
CHK_GL(glVertexAttribFormat(attrib, size, GL_FLOAT, GL_TRUE, offset));
264+
CHK_GL(glVertexAttribFormat(attrib, size, GL_FLOAT, GL_FALSE, offset));
265265
CHK_GL(glVertexAttribBinding(attrib, 0));
266266
CHK_GL(glEnableVertexAttribArray(attrib));
267267
offset += size * sizeof(float);

0 commit comments

Comments
 (0)