summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-08-26 10:51:42 -0500
committerDave Parks <davep@lindenlab.com>2022-08-26 10:51:42 -0500
commit9bee2a92d2eb1f48f8ca0061e546c5e9df38fe79 (patch)
treee05c4291ba21b26b7cb4d4d0e46423a17663385e /indra/llrender/llimagegl.cpp
parentc58fd13c63048d96bd0cbf7a2ac4aa286e3e3b96 (diff)
SL-17997 Follow up from beta breakers results.
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r--indra/llrender/llimagegl.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index ae10142e7a..7ba0cc2fde 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -54,7 +54,6 @@ const F32 MIN_TEXTURE_LIFETIME = 10.f;
U32 wpo2(U32 i);
-#if LL_DARWIN
// texture memory accounting (for OS X)
static LLMutex sTexMemMutex;
static std::unordered_map<U32, U32> sTextureAllocs;
@@ -119,22 +118,6 @@ U64 LLImageGL::getTextureBytesAllocated()
return sTextureBytes;
}
-#else
-
-#define alloc_tex_image(width, height, pixformat) (void) width; (void) height; (void) pixformat;
-#define free_tex_image(texName) (void) texName;
-#define free_tex_images(count, texNames) (void) count; (void) texNames;
-#define free_cur_tex_image()
-
-// static
-U64 LLImageGL::getTextureBytesAllocated()
-{
- // UNIMPLEMENTED OUTSIDE OF OS X, DO NOT CALL
- llassert(false);
- return 0;
-}
-#endif
-
//statics
U32 LLImageGL::sUniqueCount = 0;