diff options
author | Dave Parks <davep@lindenlab.com> | 2022-02-22 14:58:50 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-02-22 14:58:50 -0600 |
commit | 1c5c45f27317d6ee7c2c30de11f43aeee3855434 (patch) | |
tree | 2b62d6c4bbc228db6788ddf54f55d4e2a42a2fba /indra/llrender/llimagegl.h | |
parent | 1461e4d437996784cc8afe5d4b3bfa873d3dbfa1 (diff) |
SL-16815 Fix for broken media texture updates when multithreaded GL is disabled.
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r-- | indra/llrender/llimagegl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h index 50706890f9..574d83c37e 100644 --- a/indra/llrender/llimagegl.h +++ b/indra/llrender/llimagegl.h @@ -323,6 +323,9 @@ class LLImageGLThread : public LLSimpleton<LLImageGLThread>, LL::ThreadPool public: // follows gSavedSettings "RenderGLMultiThreaded" static bool sEnabled; + + // app should call this function periodically + static void updateClass(); // free video memory in megabytes static std::atomic<S32> sFreeVRAMMegabytes; |