only two texture coordinates
This commit is contained in:
parent
1c5b95a9fd
commit
10b945dd6b
@ -196,7 +196,7 @@ void Viewer::display()
|
||||
stride, (GLvoid *) m_obj.getNormalOffset());
|
||||
if (m_obj.doTextures())
|
||||
{
|
||||
glVertexAttribPointer(LOC_TEXTURE, 3, GL_FLOAT, GL_FALSE,
|
||||
glVertexAttribPointer(LOC_TEXTURE, 2, GL_FLOAT, GL_FALSE,
|
||||
stride, (GLvoid *) m_obj.getTextureCoordOffset());
|
||||
}
|
||||
for (map<string, WFObj::Material>::iterator it =
|
||||
|
Loading…
x
Reference in New Issue
Block a user