From 12495d46a43b7d8a47ca8f304b15cf055eb86433 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Fri, 29 Mar 2019 13:12:33 -0700 Subject: OSX is very picky about unused variables. --- indra/llrender/llcubemap.cpp | 8 -------- 1 file changed, 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) -- cgit v1.2.3