diff options
author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-18 16:41:22 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-18 22:04:44 +0200 |
commit | f1c97f4057833220a2e9ac045d701208e30457d1 (patch) | |
tree | 1b41e67347d15b1ad4e4e0ca47e0b6c7c0fd8a52 /indra/llrender/llimagegl.cpp | |
parent | 2817d6c67d65bee9cae8f0d77e229ccf8eaa286f (diff) |
misc: BOOL to bool
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r-- | indra/llrender/llimagegl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 6315b2cd7c..78c4c90663 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -2072,9 +2072,9 @@ S64 LLImageGL::getMipBytes(S32 discard_level) const return res; } -BOOL LLImageGL::isJustBound() const +bool LLImageGL::isJustBound() const { - return (BOOL)(sLastFrameTime - mLastBindTime < 0.5f); + return sLastFrameTime - mLastBindTime < 0.5f; } BOOL LLImageGL::getBoundRecently() const |