diff options
author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-04-18 09:43:26 -0700 |
---|---|---|
committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-04-18 09:43:26 -0700 |
commit | 8bccedd163f1eb25c631e8501bdd468c24e6bf40 (patch) | |
tree | 83469b24288cd4ca051dbd771005900c3d2b4a9b | |
parent | 3200f07ae26d063b7d91cf77b40b717a83ee1a95 (diff) |
NORSPEC-59 NORSPEC-98 NORSPEC-125 avoid rendering mesh LODs which crash driver on mac 9400/9600 GT only
-rw-r--r-- | indra/newview/llvoavatar.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index f861f49296..f5b8244509 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -4336,6 +4336,15 @@ U32 LLVOAvatar::renderTransparent(BOOL first_pass) gGL.setAlphaRejectSettings(LLRender::CF_DEFAULT); } +#if LL_DARWIN + // blatant hack to avoid driver crash on rendering mMeshLODs for eyelashes and baked hair below + // NORSPEC-59 + if (gGLManager.mIsMobileGF) + { + return num_indices; + } +#endif + if (!isSelf() || gAgent.needsRenderHead() || LLPipeline::sShadowRender) { if (LLPipeline::sImpostorRender) |