mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 14:09:54 +02:00
Merge pull request #44 from ZappoMan/view_frustum_work
fixed lighting when in frustum render mode
This commit is contained in:
commit
b929f14648
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