summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.h
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2012-12-11 17:14:24 -0500
committerLogan Dethrow <log@lindenlab.com>2012-12-11 17:14:24 -0500
commit2807c0b9424f9d3f80e49a3c150af0a459676d79 (patch)
tree2fdf21ef5429e112cc767bf3f594c8fe5c3d950b /indra/llrender/llrendertarget.h
parent5798dd54ccbf2728725eae397a235c89d111cf93 (diff)
parent03025733484f7f1ea46d0356e65b0d142bc1dbdb (diff)
Automated merge with ssh://bitbucket.org/lindenlab/sunshine-internal
Diffstat (limited to 'indra/llrender/llrendertarget.h')
-rw-r--r--indra/llrender/llrendertarget.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llrender/llrendertarget.h b/indra/llrender/llrendertarget.h
index b9ef666206..765a727b5b 100644
--- a/indra/llrender/llrendertarget.h
+++ b/indra/llrender/llrendertarget.h
@@ -62,6 +62,7 @@ public:
//whether or not to use FBO implementation
static bool sUseFBO;
static U32 sBytesAllocated;
+ static U32 sCurFBO;
LLRenderTarget();
~LLRenderTarget();
@@ -95,9 +96,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);
@@ -147,6 +145,7 @@ protected:
std::vector<U32> mTex;
std::vector<U32> mInternalFormat;
U32 mFBO;
+ U32 mPreviousFBO;
U32 mDepth;
bool mStencil;
bool mUseDepth;