diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-02-23 13:22:51 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-02-23 13:22:51 -0500 |
commit | 701b665ee567c8ff639fbc4b8794b9b0912a5256 (patch) | |
tree | 8bf986d6294d47daa2c851884638a7fff7e4b554 /indra/newview | |
parent | 9b50def44f8b6a477d54ae72891d4d1b1225e247 (diff) |
Fixes from merge of viewer-development -> mesh-development.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/pipeline.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 5d32360394..998fa88925 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -5856,10 +5856,6 @@ void LLPipeline::renderObjects(U32 type, U32 mask, BOOL texture) gGLLastMatrix = NULL;
}
- LLVertexBuffer::initClass(use_vbo, gSavedSettings.getBOOL("RenderVBOMappingDisable"));
- }
-}
-
void LLPipeline::setDisableVBOMapping(BOOL no_vbo_mapping)
{
if (LLVertexBuffer::sEnableVBOs && no_vbo_mapping != LLVertexBuffer::sDisableVBOMapping)
@@ -5875,31 +5871,6 @@ void LLPipeline::setDisableVBOMapping(BOOL no_vbo_mapping) resetVertexBuffers();
LLVertexBuffer::initClass(true, no_vbo_mapping);
-void apply_cube_face_rotation(U32 face)
-{
- switch (face)
- {
- case 0:
- glRotatef(90.f, 0, 1, 0);
- glRotatef(180.f, 1, 0, 0);
- break;
- case 2:
- glRotatef(-90.f, 1, 0, 0);
- break;
- case 4:
- glRotatef(180.f, 0, 1, 0);
- glRotatef(180.f, 0, 0, 1);
- break;
- case 1:
- glRotatef(-90.f, 0, 1, 0);
- glRotatef(180.f, 1, 0, 0);
- break;
- case 3:
- glRotatef(90, 1, 0, 0);
- break;
- case 5:
- glRotatef(180, 0, 0, 1);
- break;
}
}
|