Skip to content
Snippets Groups Projects
Commit 12495d46 authored by Rider Linden's avatar Rider Linden
Browse files

OSX is very picky about unused variables.

parent 0272c47e
No related branches found
No related tags found
No related merge requests found
...@@ -43,14 +43,6 @@ ...@@ -43,14 +43,6 @@
const F32 epsilon = 1e-7f; const F32 epsilon = 1e-7f;
const U16 RESOLUTION = 64; 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; bool LLCubeMap::sUseCubeMaps = true;
LLCubeMap::LLCubeMap(bool init_as_srgb) LLCubeMap::LLCubeMap(bool init_as_srgb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment