summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshreduction.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-12-10 15:27:04 -0600
committerDave Parks <davep@lindenlab.com>2010-12-10 15:27:04 -0600
commit03fa20eb0e718e9f66543f5f694bcd7a1d674842 (patch)
tree066c76d67a2a9d34abab7753f0b38a9f8aa4d39e /indra/newview/llmeshreduction.cpp
parent52686947e2643eaa0f1cda03f33bbf1089d3b46d (diff)
parentdfe6a07b515217995e358ddc12376c271af5f4c7 (diff)
merge
Diffstat (limited to 'indra/newview/llmeshreduction.cpp')
-rw-r--r--indra/newview/llmeshreduction.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/indra/newview/llmeshreduction.cpp b/indra/newview/llmeshreduction.cpp
index b50b4cf063..14e8dd37b4 100644
--- a/indra/newview/llmeshreduction.cpp
+++ b/indra/newview/llmeshreduction.cpp
@@ -32,19 +32,8 @@
#include "glod/glod.h"
-static BOOL stop_gloderror()
-{
- GLuint error = glodGetError();
-
- if (error != GLOD_NO_ERROR)
- {
- llwarns << "GLOD error detected: " << std::hex << error << llendl;
- return TRUE;
- }
-
- return FALSE;
-}
+#if 0 //not used ?
void create_vertex_buffers_from_model(LLModel* model, std::vector<LLPointer <LLVertexBuffer> >& vertex_buffers)
{
@@ -280,4 +269,4 @@ LLPointer<LLModel> LLMeshReduction::reduce(LLModel* in_model, F32 limit, S32 mod
return out_model;
}
-
+#endif