diff options
author | Dave Parks <davep@lindenlab.com> | 2013-10-10 18:00:11 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-10-10 18:00:11 -0500 |
commit | e43058e7640bbdb8507e153bf63a5e6adb016101 (patch) | |
tree | 2b0cfde66d85573f22ab0f85f02f011b07bdbc61 /indra/llrender/llcubemap.cpp | |
parent | 275a9606e8658592cc08bcb69ae6a867c008e7ed (diff) |
MAINT-2968 Fix for crash on AMD hardware running current drivers.
Diffstat (limited to 'indra/llrender/llcubemap.cpp')
-rwxr-xr-x | 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 362452d837..45a3b18179 100755 --- 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, GL_RGB8, 1, &texname); + LLImageGL::generateTextures(1, &texname); for (int i = 0; i < 6; i++) { |