diff options
author | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
commit | 31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch) | |
tree | c4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/lldrawpoolbump.cpp | |
parent | Second Life viewer sources 1.19.1.1 (diff) | |
download | meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2 meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz |
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/newview/lldrawpoolbump.cpp')
-rw-r--r-- | linden/indra/newview/lldrawpoolbump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolbump.cpp b/linden/indra/newview/lldrawpoolbump.cpp index 987e65e..0bfb737 100644 --- a/linden/indra/newview/lldrawpoolbump.cpp +++ b/linden/indra/newview/lldrawpoolbump.cpp | |||
@@ -73,7 +73,7 @@ const U32 VERTEX_MASK_SHINY = LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_N | |||
73 | const U32 VERTEX_MASK_BUMP = LLVertexBuffer::MAP_VERTEX |LLVertexBuffer::MAP_TEXCOORD | LLVertexBuffer::MAP_TEXCOORD2; | 73 | const U32 VERTEX_MASK_BUMP = LLVertexBuffer::MAP_VERTEX |LLVertexBuffer::MAP_TEXCOORD | LLVertexBuffer::MAP_TEXCOORD2; |
74 | 74 | ||
75 | U32 LLDrawPoolBump::sVertexMask = VERTEX_MASK_SHINY; | 75 | U32 LLDrawPoolBump::sVertexMask = VERTEX_MASK_SHINY; |
76 | static LLCubeMap* sCubeMap = NULL; | 76 | static LLPointer<LLCubeMap> sCubeMap; |
77 | 77 | ||
78 | static LLGLSLShader* shader = NULL; | 78 | static LLGLSLShader* shader = NULL; |
79 | static S32 cube_channel = -1; | 79 | static S32 cube_channel = -1; |
@@ -592,7 +592,7 @@ void LLDrawPoolBump::renderGroup(LLSpatialGroup* group, U32 type, U32 mask, BOOL | |||
592 | { | 592 | { |
593 | sCubeMap->bind(); | 593 | sCubeMap->bind(); |
594 | } | 594 | } |
595 | else | 595 | else if (gSky.mVOSkyp->getCubeMap()) |
596 | { | 596 | { |
597 | gSky.mVOSkyp->getCubeMap()->bind(); | 597 | gSky.mVOSkyp->getCubeMap()->bind(); |
598 | } | 598 | } |