diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-24 12:52:24 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-24 12:52:24 -0700 |
commit | 41ede77744489c2a2d32849ea457bcbea516a588 (patch) | |
tree | 9f611afd7a33fc4a9c0bd40f779d4596ca00309a /indra/newview/lldynamictexture.h | |
parent | 15f5d8caf8fc51999c4de4217ed5ac37fa911ae9 (diff) |
SL-10625
Diffstat (limited to 'indra/newview/lldynamictexture.h')
-rw-r--r-- | indra/newview/lldynamictexture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldynamictexture.h b/indra/newview/lldynamictexture.h index f3f57c9a6b..4bd74a8425 100644 --- a/indra/newview/lldynamictexture.h +++ b/indra/newview/lldynamictexture.h @@ -88,6 +88,9 @@ public: static BOOL updateAllInstances(); static void destroyGL() ; static void restoreGL() ; + + void setBoundTarget(LLRenderTarget* target) { mBoundTarget = target; } + protected: void generateGLTexture(); void generateGLTexture(LLGLint internal_format, LLGLenum primary_format, LLGLenum type_format, BOOL swap_bytes = FALSE); @@ -97,6 +100,8 @@ protected: LLCoordGL mOrigin; LL_ALIGN_16(LLCamera mCamera); + LLRenderTarget* mBoundTarget; + typedef std::set<LLViewerDynamicTexture*> instance_list_t; static instance_list_t sInstances[ LLViewerDynamicTexture::ORDER_COUNT ]; static S32 sNumRenders; |