diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 11:55:32 +0800 | 
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 11:55:32 +0800 | 
| commit | ddeca119875c89e42c41b55c77f317b7f6953a5a (patch) | |
| tree | 5b6c409b8d5e2883ed50be5b0b89c4ccba23bedc | |
| parent | ec43470dff035b834ec797737f12d49bade19a6a (diff) | |
Preprocess anisotropy related code
| -rw-r--r-- | indra/llrender/llrender.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index f34161980a..89de6b93ea 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -519,6 +519,7 @@ void LLTexUnit::setTextureFilteringOption(LLTexUnit::eTextureFilterOptions optio  		}  	} +#if GL_EXT_texture_filter_anisotropic  	if (gGLManager.mHasAnisotropic)  	{  		if (LLImageGL::sGlobalUseAnisotropic && option == TFO_ANISOTROPIC) @@ -537,6 +538,7 @@ void LLTexUnit::setTextureFilteringOption(LLTexUnit::eTextureFilterOptions optio  			glTexParameterf(sGLTextureType[mCurrTexType], GL_TEXTURE_MAX_ANISOTROPY_EXT, 1.f);  		}  	} +#endif  }  GLint LLTexUnit::getTextureSource(eTextureBlendSrc src) | 
