diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-11 13:30:01 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-11 13:30:01 +0800 |
commit | 4f45656ca98a144155cb492ca30c92d051d47e4c (patch) | |
tree | 9642c33b24e98abd20768f15a185625be4a28230 /indra/llrender/llcubemap.cpp | |
parent | 930907de7821d8e9f0ae59fafcbb0a0837ad5f9f (diff) |
Preprocess non portable OpenGL 3.2 code
Diffstat (limited to 'indra/llrender/llcubemap.cpp')
-rw-r--r-- | indra/llrender/llcubemap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llcubemap.cpp b/indra/llrender/llcubemap.cpp index 254288a86e..bc5efbfce8 100644 --- a/indra/llrender/llcubemap.cpp +++ b/indra/llrender/llcubemap.cpp @@ -211,7 +211,9 @@ void LLCubeMap::initEnvironmentMap(const std::vector<LLPointer<LLImageRaw> >& ra enableTexture(0); bind(); mImages[0]->setFilteringOption(LLTexUnit::TFO_ANISOTROPIC); +#if GL_VERSION_3_2 glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); +#endif glGenerateMipmap(GL_TEXTURE_CUBE_MAP); gGL.getTexUnit(0)->disable(); disable(); |