summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2019-08-12 21:40:49 +0000
committerGraham Madarasz <graham@lindenlab.com>2019-08-12 21:40:49 +0000
commit2207dc0e610c1bf18f04620bc216e0da71762237 (patch)
tree18aed456a229db20c4bd6f021704911b13251ed9
parent8bbf3055dbdab8c3f40cc10b547804e948d76e1f (diff)
parent6fbb35b712d25843d9fe10945a232749a89601c5 (diff)
Merged in graham_linden/viewer-eep-g (pull request #477)
Fix line-endings on new inline file.
-rw-r--r--indra/llrender/lluiimage.inl22
1 files changed, 11 insertions, 11 deletions
diff --git a/indra/llrender/lluiimage.inl b/indra/llrender/lluiimage.inl
index 3b23d77d62..f5227556f0 100644
--- a/indra/llrender/lluiimage.inl
+++ b/indra/llrender/lluiimage.inl
@@ -64,14 +64,14 @@ void LLUIImage::drawBorder(S32 x, S32 y, S32 width, S32 height, const LLColor4&
}
// returns dimensions of underlying textures, which might not be equal to ui image portion
-S32 LLUIImage::getTextureWidth() const
-{
- mCachedW = (mCachedW == -1) ? getWidth() : mCachedW;
- return mCachedW;
-}
-
-S32 LLUIImage::getTextureHeight() const
-{
- mCachedH = (mCachedH == -1) ? getHeight() : mCachedH;
- return mCachedH;
-}
+S32 LLUIImage::getTextureWidth() const
+{
+ mCachedW = (mCachedW == -1) ? getWidth() : mCachedW;
+ return mCachedW;
+}
+
+S32 LLUIImage::getTextureHeight() const
+{
+ mCachedH = (mCachedH == -1) ? getHeight() : mCachedH;
+ return mCachedH;
+}