diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-12-05 09:36:38 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-12-05 09:36:38 -0500 |
commit | 5a938e3a1c8582d6bfe6df2aa195afcdcafb355a (patch) | |
tree | 2206c0edf6cfadce17d5cc294b482e5fab043a46 /indra/llrender/llrendertarget.h | |
parent | b078a515e197473dbab34724263348dd88030b4d (diff) | |
parent | e6712cab31df0e1d766a4d935bada18d57cd26ad (diff) |
merge changes for DRTVWR-254
Diffstat (limited to 'indra/llrender/llrendertarget.h')
-rw-r--r-- | indra/llrender/llrendertarget.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llrender/llrendertarget.h b/indra/llrender/llrendertarget.h index e1a51304f1..cf15f66d31 100644 --- a/indra/llrender/llrendertarget.h +++ b/indra/llrender/llrendertarget.h @@ -63,6 +63,7 @@ public: //whether or not to use FBO implementation static bool sUseFBO; static U32 sBytesAllocated; + static U32 sCurFBO; LLRenderTarget(); ~LLRenderTarget(); @@ -96,9 +97,6 @@ public: //applies appropriate viewport void bindTarget(); - //unbind target for rendering - static void unbindTarget(); - //clear render targer, clears depth buffer if present, //uses scissor rect if in copy-to-texture mode void clear(U32 mask = 0xFFFFFFFF); @@ -148,6 +146,7 @@ protected: std::vector<U32> mTex; std::vector<U32> mInternalFormat; U32 mFBO; + U32 mPreviousFBO; U32 mDepth; bool mStencil; bool mUseDepth; |