From 875606a04d656ef6e5600a3a7fb6e8b52feb1945 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Sun, 11 May 2008 20:56:42 +0000 Subject: 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 --- indra/llrender/llrendertarget.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'indra/llrender') 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() -- cgit v1.2.3