diff options
Diffstat (limited to 'source/gameengine/Rasterizer')
-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); } } |