mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
add missing glPushMatrix()
This commit is contained in:
parent
f21f5aded9
commit
a1a5372b74
1 changed files with 1 additions and 1 deletions
|
@ -162,9 +162,9 @@ void Hand::render(bool isMine, Model::RenderMode renderMode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Hand::renderHandTargets(bool isMine) {
|
void Hand::renderHandTargets(bool isMine) {
|
||||||
|
glPushMatrix();
|
||||||
|
|
||||||
const float alpha = 1.0f;
|
const float alpha = 1.0f;
|
||||||
|
|
||||||
const glm::vec3 handColor(1.0, 0.0, 0.0); // Color the hand targets red to be different than skin
|
const glm::vec3 handColor(1.0, 0.0, 0.0); // Color the hand targets red to be different than skin
|
||||||
|
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
|
Loading…
Reference in a new issue