diff options
author | Hamed Zaghaghi <hamed.zaghaghi@gmail.com> | 2007-10-29 22:41:25 +0300 |
---|---|---|
committer | Hamed Zaghaghi <hamed.zaghaghi@gmail.com> | 2007-10-29 22:41:25 +0300 |
commit | ef9ead78f2516269389149fcaba13b998ff85e8e (patch) | |
tree | d183969c290d82a6f7e3b2cf11df51b89cdf4ee8 /source/gameengine | |
parent | d6db819a8366c515b30378b46a77f7341fc9fc67 (diff) |
GE Patch(#7684) by Ovidiu Sabou, Speedup patch for GE in OpenGL Display Lists.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp index 7270a6d2a99..ed4cfb2ae42 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp @@ -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); } } |