diff options
author | Jacek Antonelli | 2009-06-13 13:17:14 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-06-13 13:17:20 -0500 |
commit | 0517fe4322443bdc317f8185590a63134e3f8394 (patch) | |
tree | 942c9c26d0792accc928010a113d123c5409659b /linden/indra/newview/llvosky.cpp | |
parent | Second Life viewer sources 1.23.2-RC (diff) | |
download | meta-impy-0517fe4322443bdc317f8185590a63134e3f8394.zip meta-impy-0517fe4322443bdc317f8185590a63134e3f8394.tar.gz meta-impy-0517fe4322443bdc317f8185590a63134e3f8394.tar.bz2 meta-impy-0517fe4322443bdc317f8185590a63134e3f8394.tar.xz |
Second Life viewer sources 1.23.3-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvosky.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llvosky.cpp b/linden/indra/newview/llvosky.cpp index c3366ca..d4df141 100644 --- a/linden/indra/newview/llvosky.cpp +++ b/linden/indra/newview/llvosky.cpp | |||
@@ -1197,8 +1197,6 @@ LLDrawable *LLVOSky::createDrawable(LLPipeline *pipeline) | |||
1197 | 1197 | ||
1198 | LLDrawPoolSky *poolp = (LLDrawPoolSky*) gPipeline.getPool(LLDrawPool::POOL_SKY); | 1198 | LLDrawPoolSky *poolp = (LLDrawPoolSky*) gPipeline.getPool(LLDrawPool::POOL_SKY); |
1199 | poolp->setSkyTex(mSkyTex); | 1199 | poolp->setSkyTex(mSkyTex); |
1200 | poolp->setSun(&mSun); | ||
1201 | poolp->setMoon(&mMoon); | ||
1202 | mDrawable->setRenderType(LLPipeline::RENDER_TYPE_SKY); | 1200 | mDrawable->setRenderType(LLPipeline::RENDER_TYPE_SKY); |
1203 | 1201 | ||
1204 | for (S32 i = 0; i < 6; ++i) | 1202 | for (S32 i = 0; i < 6; ++i) |
@@ -1215,7 +1213,7 @@ LLDrawable *LLVOSky::createDrawable(LLPipeline *pipeline) | |||
1215 | 1213 | ||
1216 | //by bao | 1214 | //by bao |
1217 | //fake vertex buffer updating | 1215 | //fake vertex buffer updating |
1218 | //to guaranttee at least updating one VBO buffer every frame | 1216 | //to guarantee at least updating one VBO buffer every frame |
1219 | //to walk around the bug caused by ATI card --> DEV-3855 | 1217 | //to walk around the bug caused by ATI card --> DEV-3855 |
1220 | // | 1218 | // |
1221 | void LLVOSky::createDummyVertexBuffer() | 1219 | void LLVOSky::createDummyVertexBuffer() |