summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-03-05 10:49:05 -0600
committerDave Parks <davep@lindenlab.com>2010-03-05 10:49:05 -0600
commit3ea01fb66e75ec6da1cee994da37ef461af66a48 (patch)
treec734534d717eaa73aa310c196f91188b862d0793 /indra/llrender
parent643bbdae728e01a0855accf3b5e614026dc56f9f (diff)
Remove some fast timers that were being futzy.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglslshader.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index 2b3179116d..ca92cb6580 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -343,11 +343,8 @@ BOOL LLGLSLShader::link(BOOL suppress_errors)
return LLShaderMgr::instance()->linkProgramObject(mProgramObject, suppress_errors);
}
-static LLFastTimer::DeclareTimer FTM_BIND_SHADER("Bind Shader");
-
void LLGLSLShader::bind()
{
- LLFastTimer ftm(FTM_BIND_SHADER);
if (gGLManager.mHasShaderObjects)
{
glUseProgramObjectARB(mProgramObject);
@@ -360,11 +357,8 @@ void LLGLSLShader::bind()
}
}
-static LLFastTimer::DeclareTimer FTM_UNBIND_SHADER("Unbind Shader");
-
void LLGLSLShader::unbind()
{
- LLFastTimer ftm(FTM_UNBIND_SHADER);
if (gGLManager.mHasShaderObjects)
{
stop_glerror();