diff options
author | Jacek Antonelli | 2008-08-15 23:45:49 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:49 -0500 |
commit | 8538c0f35dc5fb780f02930256e627e5266ede4a (patch) | |
tree | 58950646aae6534fafe680a5cf879d01cd99d254 /linden/indra/newview/llvoicevisualizer.cpp | |
parent | Second Life viewer sources 1.20.5 (diff) | |
download | meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.zip meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.gz meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.bz2 meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.xz |
Second Life viewer sources 1.20.6
Diffstat (limited to 'linden/indra/newview/llvoicevisualizer.cpp')
-rw-r--r-- | linden/indra/newview/llvoicevisualizer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llvoicevisualizer.cpp b/linden/indra/newview/llvoicevisualizer.cpp index 9dcf716..6b2a3e6 100644 --- a/linden/indra/newview/llvoicevisualizer.cpp +++ b/linden/indra/newview/llvoicevisualizer.cpp | |||
@@ -222,13 +222,13 @@ void LLVoiceVisualizer::render() | |||
222 | //------------------------------------------------------------- | 222 | //------------------------------------------------------------- |
223 | gGL.color4fv( LLColor4( 1.0f, 1.0f, 1.0f, DOT_OPACITY ).mV ); | 223 | gGL.color4fv( LLColor4( 1.0f, 1.0f, 1.0f, DOT_OPACITY ).mV ); |
224 | 224 | ||
225 | gGL.begin( GL_TRIANGLE_STRIP ); | 225 | gGL.begin( LLVertexBuffer::TRIANGLE_STRIP ); |
226 | gGL.texCoord2i( 0, 0 ); gGL.vertex3fv( bottomLeft.mV ); | 226 | gGL.texCoord2i( 0, 0 ); gGL.vertex3fv( bottomLeft.mV ); |
227 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); | 227 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); |
228 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); | 228 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); |
229 | gGL.end(); | 229 | gGL.end(); |
230 | 230 | ||
231 | gGL.begin( GL_TRIANGLE_STRIP ); | 231 | gGL.begin( LLVertexBuffer::TRIANGLE_STRIP ); |
232 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); | 232 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); |
233 | gGL.texCoord2i( 1, 1 ); gGL.vertex3fv( topRight.mV ); | 233 | gGL.texCoord2i( 1, 1 ); gGL.vertex3fv( topRight.mV ); |
234 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); | 234 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); |
@@ -345,13 +345,13 @@ void LLVoiceVisualizer::render() | |||
345 | //--------------------------------------------------- | 345 | //--------------------------------------------------- |
346 | // now, render the mofo | 346 | // now, render the mofo |
347 | //--------------------------------------------------- | 347 | //--------------------------------------------------- |
348 | gGL.begin( GL_TRIANGLE_STRIP ); | 348 | gGL.begin( LLVertexBuffer::TRIANGLE_STRIP ); |
349 | gGL.texCoord2i( 0, 0 ); gGL.vertex3fv( bottomLeft.mV ); | 349 | gGL.texCoord2i( 0, 0 ); gGL.vertex3fv( bottomLeft.mV ); |
350 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); | 350 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); |
351 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); | 351 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); |
352 | gGL.end(); | 352 | gGL.end(); |
353 | 353 | ||
354 | gGL.begin( GL_TRIANGLE_STRIP ); | 354 | gGL.begin( LLVertexBuffer::TRIANGLE_STRIP ); |
355 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); | 355 | gGL.texCoord2i( 1, 0 ); gGL.vertex3fv( bottomRight.mV ); |
356 | gGL.texCoord2i( 1, 1 ); gGL.vertex3fv( topRight.mV ); | 356 | gGL.texCoord2i( 1, 1 ); gGL.vertex3fv( topRight.mV ); |
357 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); | 357 | gGL.texCoord2i( 0, 1 ); gGL.vertex3fv( topLeft.mV ); |