diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-05-11 20:56:42 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-05-11 20:56:42 +0000 |
commit | 875606a04d656ef6e5600a3a7fb6e8b52feb1945 (patch) | |
tree | 7189f1cd0a2b043446e6f145cb9c72b3a1f125aa /indra/llrender/llrendertarget.cpp | |
parent | 783e05058c5d74984ab554fdc60aa06839b9b5c9 (diff) |
QAR-566 maint-viewer-5-merge-2
Effective merge: release@84102 maint-viewer-5@86348 -> maint-viewer-5-merge-2
Actual merge maint-viewer-5-merge-2 -r 87239 : 87246 -> release
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rw-r--r-- | indra/llrender/llrendertarget.cpp | 14 |
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() |