diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llsphere.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llsphere.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llsphere.cpp b/linden/indra/newview/llsphere.cpp index 44eaeff..5c49e6e 100644 --- a/linden/indra/newview/llsphere.cpp +++ b/linden/indra/newview/llsphere.cpp | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
33 | #include "llsphere.h" | 33 | #include "llsphere.h" |
34 | #include "llerror.h" | 34 | #include "llerror.h" |
35 | 35 | #include "llvertexbuffer.h" | |
36 | #include "llglheaders.h" | 36 | #include "llglheaders.h" |
37 | 37 | ||
38 | GLUquadricObj *gQuadObj2 = NULL; | 38 | GLUquadricObj *gQuadObj2 = NULL; |
@@ -167,11 +167,13 @@ void LLSphere::render(F32 pixel_area) | |||
167 | { | 167 | { |
168 | level_of_detail = 3; | 168 | level_of_detail = 3; |
169 | } | 169 | } |
170 | LLVertexBuffer::unbind(); | ||
170 | glCallList(mDList[level_of_detail]); | 171 | glCallList(mDList[level_of_detail]); |
171 | } | 172 | } |
172 | 173 | ||
173 | 174 | ||
174 | void LLSphere::render() | 175 | void LLSphere::render() |
175 | { | 176 | { |
177 | LLVertexBuffer::unbind(); | ||
176 | glCallList(mDList[0]); | 178 | glCallList(mDList[0]); |
177 | } | 179 | } |