Skip to content

Commit

Permalink
glBufferUtils: Don't normalize the texture coordinates.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Mar 24, 2016
1 parent 63a089c commit 3d57b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderGL/glBufferUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ void ConvertVertexDeclaration(u32 FVF, SDeclaration* decl)
if (FVF & D3DFVF_TEXCOORDSIZE4(i))
size = 4;

CHK_GL(glVertexAttribFormat(attrib, size, GL_FLOAT, GL_TRUE, offset));
CHK_GL(glVertexAttribFormat(attrib, size, GL_FLOAT, GL_FALSE, offset));
CHK_GL(glVertexAttribBinding(attrib, 0));
CHK_GL(glEnableVertexAttribArray(attrib));
offset += size * sizeof(float);
Expand Down

0 comments on commit 3d57b07

Please sign in to comment.