fixed segfault bug in Engine::Object::draw() with stray semicolon after if()
git-svn-id: svn://anubis/anaglym/trunk@243 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
457474b6c1
commit
9edf3c2fce
@ -1536,7 +1536,7 @@ void Engine::Object::setTexture(GLuint tex)
|
|||||||
|
|
||||||
void Engine::Object::draw()
|
void Engine::Object::draw()
|
||||||
{
|
{
|
||||||
if (!m_is_reference && m_is_visible);
|
if (!m_is_reference && m_is_visible)
|
||||||
{
|
{
|
||||||
checkGLError();
|
checkGLError();
|
||||||
const dReal * pos = m_ode_object->getPosition();
|
const dReal * pos = m_ode_object->getPosition();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user