GE Patch(#7684) by Ovidiu Sabou, Speedup patch for GE in OpenGL Display Lists.

This commit is contained in:
Hamed Zaghaghi 2007-10-29 19:41:25 +00:00
parent d6db819a83
commit ef9ead78f2

@ -62,7 +62,7 @@ void RAS_ListSlot::DrawList()
}
}
if(m_list != 0)
glNewList((GLuint)m_list, GL_COMPILE_AND_EXECUTE);
glNewList((GLuint)m_list, GL_COMPILE);
m_flag |= LIST_BEGIN;
return;
@ -76,6 +76,7 @@ void RAS_ListSlot::EndList()
glEndList();
m_flag = m_flag &~(LIST_BEGIN|LIST_MODIFY);
m_flag |= LIST_END;
glCallList(m_list);
}
}