Modified LLRenderTarget to handle sCurFBO and mPreviousFBO as pointers instead of arbiturary indexes.

This commit is contained in:
Shyotl
2013-10-16 21:35:04 -05:00
parent 03c4535648
commit d18fa5ba42
2 changed files with 27 additions and 14 deletions

View File

@@ -65,7 +65,7 @@ public:
//whether or not to use FBO implementation
static bool sUseFBO;
static U32 sBytesAllocated;
static U32 sCurFBO;
static LLRenderTarget* sCurFBO;
LLRenderTarget();
virtual ~LLRenderTarget();
@@ -154,7 +154,7 @@ protected:
std::vector<U32> mTex;
std::vector<U32> mInternalFormat;
U32 mFBO;
U32 mPreviousFBO;
LLRenderTarget* mPreviousFBO;
U32 mDepth;
bool mStencil;
bool mUseDepth;