diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-05-24 10:50:48 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-05-24 10:50:48 -0500 |
| commit | efda0814cbae7917fde634c5e245c81915b17a9c (patch) | |
| tree | b9557284c32016de2d4a32f484e66a8fcad47b2c /indra/llrender/llcubemap.cpp | |
| parent | f2c2b88033e912be00ba0c08bc7f074d6881d1d5 (diff) | |
MAINT-616 Fix for corrupted mipmaps. Cleanup based on code review feedback.
Diffstat (limited to 'indra/llrender/llcubemap.cpp')
| -rw-r--r-- | indra/llrender/llcubemap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llcubemap.cpp b/indra/llrender/llcubemap.cpp index 32e4c0d18e..362452d837 100644 --- a/indra/llrender/llcubemap.cpp +++ b/indra/llrender/llcubemap.cpp @@ -81,7 +81,7 @@ void LLCubeMap::initGL() { U32 texname = 0; - LLImageGL::generateTextures(LLTexUnit::TT_CUBE_MAP, 1, &texname); + LLImageGL::generateTextures(LLTexUnit::TT_CUBE_MAP, GL_RGB8, 1, &texname); for (int i = 0; i < 6; i++) { |
