diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-02-06 17:33:12 -0600 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-02-06 17:33:12 -0600 |
| commit | 095a5e84408b47ef3c5610e111aefe51d77633ca (patch) | |
| tree | 41e2192e1c4a6f3d9b2ea470850b6efc28e4d2df /indra/newview/llspatialpartition.cpp | |
| parent | 43ca4e104b613c95a1147751122f7ff007542e5c (diff) | |
Draw prims using triangle strips instead of triangle lists.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rw-r--r-- | indra/newview/llspatialpartition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 2a57d48f16..d6e9256fee 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -3380,7 +3380,8 @@ LLDrawInfo::LLDrawInfo(U16 start, U16 end, U32 count, U32 offset, mVSize(0.f), mGroup(NULL), mFace(NULL), - mDistance(0.f) + mDistance(0.f), + mDrawMode(LLRender::TRIANGLES) { mDebugColor = (rand() << 16) + rand(); if (mStart >= mVertexBuffer->getRequestedVerts() || |
