diff options
author | Dave Parks <davep@lindenlab.com> | 2021-09-27 22:35:50 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2021-09-27 22:35:50 +0000 |
commit | 78007d2592290582e3b3fbff002376ad0561779f (patch) | |
tree | 0fef3882220f2cde9c559eda8cebdc41601b65af /indra/newview/llsurface.cpp | |
parent | d7dea2dd7a312001c9ad4593871ec938aa9ad586 (diff) |
SL-16088 Fix for stall from many calls to glGenBuffers.
Diffstat (limited to 'indra/newview/llsurface.cpp')
-rw-r--r-- | indra/newview/llsurface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llsurface.cpp b/indra/newview/llsurface.cpp index cb356726e6..ea36e1d7be 100644 --- a/indra/newview/llsurface.cpp +++ b/indra/newview/llsurface.cpp @@ -1214,6 +1214,7 @@ F32 LLSurface::getWaterHeight() const BOOL LLSurface::generateWaterTexture(const F32 x, const F32 y, const F32 width, const F32 height) { + LL_PROFILE_ZONE_SCOPED if (!getWaterTexture()) { return FALSE; |