aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llgldbg.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llrender/llgldbg.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/llrender/llgldbg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llrender/llgldbg.cpp b/linden/indra/llrender/llgldbg.cpp
index 953ba3a..526215b 100644
--- a/linden/indra/llrender/llgldbg.cpp
+++ b/linden/indra/llrender/llgldbg.cpp
@@ -43,7 +43,7 @@
43//------------------------------------------------------------------------ 43//------------------------------------------------------------------------
44// cmstr() 44// cmstr()
45//------------------------------------------------------------------------ 45//------------------------------------------------------------------------
46char *cmstr(int i) 46const char *cmstr(int i)
47{ 47{
48 switch( i ) 48 switch( i )
49 { 49 {
@@ -59,7 +59,7 @@ char *cmstr(int i)
59//------------------------------------------------------------------------ 59//------------------------------------------------------------------------
60// facestr() 60// facestr()
61//------------------------------------------------------------------------ 61//------------------------------------------------------------------------
62char *facestr(int i) 62const char *facestr(int i)
63{ 63{
64 switch( i ) 64 switch( i )
65 { 65 {
@@ -81,7 +81,7 @@ const char *boolstr(int b)
81//------------------------------------------------------------------------ 81//------------------------------------------------------------------------
82// fv4() 82// fv4()
83//------------------------------------------------------------------------ 83//------------------------------------------------------------------------
84char *fv4(F32 *f) 84const char *fv4(F32 *f)
85{ 85{
86 static char str[128]; 86 static char str[128];
87 sprintf(str, "%8.3f %8.3f %8.3f %8.3f", f[0], f[1], f[2], f[3]); 87 sprintf(str, "%8.3f %8.3f %8.3f %8.3f", f[0], f[1], f[2], f[3]);
@@ -91,7 +91,7 @@ char *fv4(F32 *f)
91//------------------------------------------------------------------------ 91//------------------------------------------------------------------------
92// fv3() 92// fv3()
93//------------------------------------------------------------------------ 93//------------------------------------------------------------------------
94char *fv3(F32 *f) 94const char *fv3(F32 *f)
95{ 95{
96 static char str[128]; /* Flawfinder: ignore */ 96 static char str[128]; /* Flawfinder: ignore */
97 snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */ 97 snprintf(str, sizeof(str), "%8.3f, %8.3f, %8.3f", f[0], f[1], f[2]); /* Flawfinder: ignore */
@@ -101,7 +101,7 @@ char *fv3(F32 *f)
101//------------------------------------------------------------------------ 101//------------------------------------------------------------------------
102// fv1() 102// fv1()
103//------------------------------------------------------------------------ 103//------------------------------------------------------------------------
104char *fv1(F32 *f) 104const char *fv1(F32 *f)
105{ 105{
106 static char str[128]; /* Flawfinder: ignore */ 106 static char str[128]; /* Flawfinder: ignore */
107 snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */ 107 snprintf(str, sizeof(str), "%8.3f", f[0]); /* Flawfinder: ignore */