summaryrefslogtreecommitdiff
path: root/indra/newview/llsurface.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-09-27 22:35:50 +0000
committerDave Parks <davep@lindenlab.com>2021-09-27 22:35:50 +0000
commit78007d2592290582e3b3fbff002376ad0561779f (patch)
tree0fef3882220f2cde9c559eda8cebdc41601b65af /indra/newview/llsurface.cpp
parentd7dea2dd7a312001c9ad4593871ec938aa9ad586 (diff)
SL-16088 Fix for stall from many calls to glGenBuffers.
Diffstat (limited to 'indra/newview/llsurface.cpp')
-rw-r--r--indra/newview/llsurface.cpp1
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;