summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rw-r--r--indra/llrender/llrendertarget.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp
index 4efe078ad7..5111c7ae2d 100644
--- a/indra/llrender/llrendertarget.cpp
+++ b/indra/llrender/llrendertarget.cpp
@@ -38,11 +38,17 @@
BOOL LLRenderTarget::sUseFBO = FALSE;
-LLRenderTarget::LLRenderTarget()
+LLRenderTarget::LLRenderTarget() :
+ mResX(0),
+ mResY(0),
+ mTex(0),
+ mFBO(0),
+ mDepth(0),
+ mStencil(0),
+ mUseDepth(FALSE),
+ mRenderDepth(FALSE),
+ mUsage(GL_TEXTURE_2D)
{
- mResX = mResY = mTex = mFBO = mDepth = 0;
- mUseDepth = FALSE;
- mUsage = GL_TEXTURE_2D;
}
LLRenderTarget::~LLRenderTarget()