Fix a typo that could cause a crash on some platforms.
This commit is contained in:
parent
832d514d05
commit
2da005377e
1 changed files with 1 additions and 1 deletions
|
@ -1408,7 +1408,7 @@ bool fgBinObjLoad( const string& path, const bool is_base,
|
||||||
tex_index.clear();
|
tex_index.clear();
|
||||||
ssgLeaf *leaf = gen_leaf( path, GL_POINTS, material,
|
ssgLeaf *leaf = gen_leaf( path, GL_POINTS, material,
|
||||||
nodes, normals, texcoords,
|
nodes, normals, texcoords,
|
||||||
pts_v[i], pts_v[i], tex_index,
|
pts_v[i], pts_n[i], tex_index,
|
||||||
false, ground_lights );
|
false, ground_lights );
|
||||||
|
|
||||||
if ( is_lighting ) {
|
if ( is_lighting ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue