summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemap.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-03-29 13:12:33 -0700
committerRider Linden <rider@lindenlab.com>2019-03-29 13:12:33 -0700
commit12495d46a43b7d8a47ca8f304b15cf055eb86433 (patch)
tree486cd490dde3fee288a3eefebeb182f8f37ec57a /indra/llrender/llcubemap.cpp
parent0272c47e5a31cf972e02fbf14cb2642f86f75d78 (diff)
OSX is very picky about unused variables.
Diffstat (limited to 'indra/llrender/llcubemap.cpp')
-rw-r--r--indra/llrender/llcubemap.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llrender/llcubemap.cpp b/indra/llrender/llcubemap.cpp
index 14d0a744bb..d425b8fa2d 100644
--- a/indra/llrender/llcubemap.cpp
+++ b/indra/llrender/llcubemap.cpp
@@ -43,14 +43,6 @@
const F32 epsilon = 1e-7f;
const U16 RESOLUTION = 64;
-#if LL_DARWIN
-// mipmap generation on cubemap textures seems to be broken on the Mac for at least some cards.
-// Since the cubemap is small (64x64 per face) and doesn't have any fine detail, turning off mipmaps is a usable workaround.
-const BOOL use_cube_mipmaps = FALSE;
-#else
-const BOOL use_cube_mipmaps = FALSE; //current build works best without cube mipmaps
-#endif
-
bool LLCubeMap::sUseCubeMaps = true;
LLCubeMap::LLCubeMap(bool init_as_srgb)