aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llglimmediate.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llrender/llglimmediate.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/linden/indra/llrender/llglimmediate.cpp b/linden/indra/llrender/llglimmediate.cpp
index db62f3d..da9239d 100644
--- a/linden/indra/llrender/llglimmediate.cpp
+++ b/linden/indra/llrender/llglimmediate.cpp
@@ -43,8 +43,7 @@ LLGLImmediate gGL;
43#endif 43#endif
44 44
45bool LLGLImmediate::sClever = false; 45bool LLGLImmediate::sClever = false;
46 46BOOL LLGLImmediate::sStarted = FALSE;
47static BOOL sStarted = FALSE;
48 47
49LLGLImmediate::LLGLImmediate() 48LLGLImmediate::LLGLImmediate()
50{ 49{
@@ -62,9 +61,9 @@ void LLGLImmediate::start()
62 llerrs << "Redundant start." << llendl; 61 llerrs << "Redundant start." << llendl;
63 } 62 }
64 63
65 sStarted = TRUE;
66 LLVertexBuffer::unbind(); 64 LLVertexBuffer::unbind();
67 65 sStarted = TRUE;
66
68 glEnableClientState(GL_VERTEX_ARRAY); 67 glEnableClientState(GL_VERTEX_ARRAY);
69 glEnableClientState(GL_TEXTURE_COORD_ARRAY); 68 glEnableClientState(GL_TEXTURE_COORD_ARRAY);
70 glEnableClientState(GL_COLOR_ARRAY); 69 glEnableClientState(GL_COLOR_ARRAY);