diff options
Diffstat (limited to 'linden/indra/llrender/llvertexbuffer.cpp')
-rw-r--r-- | linden/indra/llrender/llvertexbuffer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llrender/llvertexbuffer.cpp b/linden/indra/llrender/llvertexbuffer.cpp index 547663b..cb7f352 100644 --- a/linden/indra/llrender/llvertexbuffer.cpp +++ b/linden/indra/llrender/llvertexbuffer.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2003&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2003&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2003-2008, Linden Research, Inc. | 7 | * Copyright (c) 2003-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -76,7 +76,7 @@ S32 LLVertexBuffer::sTypeOffsets[LLVertexBuffer::TYPE_MAX] = | |||
76 | sizeof(LLVector4), // TYPE_CLOTHWEIGHT, | 76 | sizeof(LLVector4), // TYPE_CLOTHWEIGHT, |
77 | }; | 77 | }; |
78 | 78 | ||
79 | U32 LLVertexBuffer::sGLMode[LLVertexBuffer::NUM_MODES] = | 79 | U32 LLVertexBuffer::sGLMode[LLRender::NUM_MODES] = |
80 | { | 80 | { |
81 | GL_TRIANGLES, | 81 | GL_TRIANGLES, |
82 | GL_TRIANGLE_STRIP, | 82 | GL_TRIANGLE_STRIP, |
@@ -187,7 +187,7 @@ void LLVertexBuffer::drawRange(U32 mode, U32 start, U32 end, U32 count, U32 indi | |||
187 | llerrs << "Wrong vertex buffer bound." << llendl; | 187 | llerrs << "Wrong vertex buffer bound." << llendl; |
188 | } | 188 | } |
189 | 189 | ||
190 | if (mode > NUM_MODES) | 190 | if (mode > LLRender::NUM_MODES) |
191 | { | 191 | { |
192 | llerrs << "Invalid draw mode: " << mode << llendl; | 192 | llerrs << "Invalid draw mode: " << mode << llendl; |
193 | return; | 193 | return; |
@@ -216,7 +216,7 @@ void LLVertexBuffer::draw(U32 mode, U32 count, U32 indices_offset) const | |||
216 | llerrs << "Wrong vertex buffer bound." << llendl; | 216 | llerrs << "Wrong vertex buffer bound." << llendl; |
217 | } | 217 | } |
218 | 218 | ||
219 | if (mode > NUM_MODES) | 219 | if (mode > LLRender::NUM_MODES) |
220 | { | 220 | { |
221 | llerrs << "Invalid draw mode: " << mode << llendl; | 221 | llerrs << "Invalid draw mode: " << mode << llendl; |
222 | return; | 222 | return; |
@@ -240,7 +240,7 @@ void LLVertexBuffer::drawArrays(U32 mode, U32 first, U32 count) const | |||
240 | llerrs << "Wrong vertex buffer bound." << llendl; | 240 | llerrs << "Wrong vertex buffer bound." << llendl; |
241 | } | 241 | } |
242 | 242 | ||
243 | if (mode > NUM_MODES) | 243 | if (mode > LLRender::NUM_MODES) |
244 | { | 244 | { |
245 | llerrs << "Invalid draw mode: " << mode << llendl; | 245 | llerrs << "Invalid draw mode: " << mode << llendl; |
246 | return; | 246 | return; |