mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
fixed lighting when in frustum render mode
This commit is contained in:
parent
531e294052
commit
bd837862de
1 changed files with 2 additions and 1 deletions
|
@ -649,8 +649,9 @@ void render_view_frustum() {
|
|||
glVertex3f(vf.getNearTopLeft().x, vf.getNearTopLeft().y, vf.getNearTopLeft().z);
|
||||
glVertex3f(vf.getFarTopLeft().x, vf.getFarTopLeft().y, vf.getFarTopLeft().z);
|
||||
}
|
||||
|
||||
|
||||
glEnd();
|
||||
glEnable(GL_LIGHTING);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue