summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemap.cpp
diff options
context:
space:
mode:
authorcallum <none@none>2012-06-29 10:36:04 -0700
committercallum <none@none>2012-06-29 10:36:04 -0700
commit11686a0917c7e6e67920aca46ade4624c5027c0e (patch)
tree69f56b63cf711b6aef97e0b06d981e5c8087375a /indra/llrender/llcubemap.cpp
parentfd4708c2c4f221d9f2029072f786e169e119ba1a (diff)
parent326634e1bf9b87e9c9311b67539abb43323bd33c (diff)
Merge with viewer-beta
Diffstat (limited to 'indra/llrender/llcubemap.cpp')
-rw-r--r--indra/llrender/llcubemap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llcubemap.cpp b/indra/llrender/llcubemap.cpp
index 45a3b18179..362452d837 100644
--- a/indra/llrender/llcubemap.cpp
+++ b/indra/llrender/llcubemap.cpp
@@ -81,7 +81,7 @@ void LLCubeMap::initGL()
{
U32 texname = 0;
- LLImageGL::generateTextures(1, &texname);
+ LLImageGL::generateTextures(LLTexUnit::TT_CUBE_MAP, GL_RGB8, 1, &texname);
for (int i = 0; i < 6; i++)
{