diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-12-10 20:42:29 -0600 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-12-10 20:42:29 -0600 |
| commit | 6f8ff871cdd0402d07800444f0524079fe02fac6 (patch) | |
| tree | 071fc033d8b721934650e79584cd415d3da501bb /indra/newview/llmeshreduction.cpp | |
| parent | 285ba513368c6b692ea2eb5d13b85300c76adbea (diff) | |
| parent | 8e5f15a3b64e1e7cd14c8c4c9535299b93f3496b (diff) | |
merge
Diffstat (limited to 'indra/newview/llmeshreduction.cpp')
| -rw-r--r-- | indra/newview/llmeshreduction.cpp | 15 |
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 |
