fixed call to glNormal3fv() when dReal is a double

git-svn-id: svn://anubis/anaglym/trunk@145 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-10-31 21:55:34 +00:00
parent 8139866c77
commit f8b15d60ff

View File

@ -800,7 +800,11 @@ void Engine::Object::render()
float x_o = (*m_args)[0];
float y_o = (*m_args)[1];
float z_o = (*m_args)[2];
#ifdef dSINGLE
glNormal3fv(rotated_plane_direction);
#else
glNormal3dv(rotated_plane_direction);
#endif
for (int x = 0; x < num_sections; x++)
{
glBegin(GL_QUAD_STRIP);