mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:36:30 +02:00
Merge pull request #5923 from jherico/lisa
Fix broken textures in stereo/HMD
This commit is contained in:
commit
833c31a6a6
1 changed files with 1 additions and 1 deletions
|
@ -117,9 +117,9 @@ void GLBackend::updateInput() {
|
||||||
for (size_t locNum = 0; locNum < locationCount; ++locNum) {
|
for (size_t locNum = 0; locNum < locationCount; ++locNum) {
|
||||||
newActivation.set(slot + locNum);
|
newActivation.set(slot + locNum);
|
||||||
glVertexAttribFormat(slot + locNum, count, type, isNormalized, offset + locNum * perLocationSize);
|
glVertexAttribFormat(slot + locNum, count, type, isNormalized, offset + locNum * perLocationSize);
|
||||||
glVertexAttribDivisor(slot + locNum, attrib._frequency);
|
|
||||||
glVertexAttribBinding(slot + locNum, attrib._channel);
|
glVertexAttribBinding(slot + locNum, attrib._channel);
|
||||||
}
|
}
|
||||||
|
glVertexBindingDivisor(attrib._channel, attrib._frequency);
|
||||||
}
|
}
|
||||||
(void) CHECK_GL_ERROR();
|
(void) CHECK_GL_ERROR();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue