aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llglimmediate.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:44 -0500
committerJacek Antonelli2008-08-15 23:45:44 -0500
commitacfdcf2b1deeb04698174c78e8cb22b093445bb1 (patch)
tree811293650bcf81d01ea7c54d7c2cf263110aa329 /linden/indra/llrender/llglimmediate.cpp
parentSecond Life viewer sources 1.20.2 (diff)
downloadmeta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.zip
meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.gz
meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.bz2
meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.xz
Second Life viewer sources 1.20.3
Diffstat (limited to 'linden/indra/llrender/llglimmediate.cpp')
-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);