diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-24 14:01:18 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-24 14:01:18 -0500 |
commit | 7eba473723a260a1025b5a865715573b2369298e (patch) | |
tree | 132cdf7264842a41ed6db52262d606eda855b128 /indra/newview/llspatialpartition.h | |
parent | 1a227160d8516b31bd97d4646036c76c1e6579f0 (diff) |
Fix for bad indexes on cube faces.
Extra validation on vertex buffers.
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r-- | indra/newview/llspatialpartition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h index 67c33d5b0f..9b252d1035 100644 --- a/indra/newview/llspatialpartition.h +++ b/indra/newview/llspatialpartition.h @@ -75,6 +75,8 @@ public: BOOL fullbright = FALSE, U8 bump = 0, BOOL particle = FALSE, F32 part_size = 0); + void validate(); + LLPointer<LLVertexBuffer> mVertexBuffer; LLPointer<LLViewerTexture> mTexture; LLColor4U mGlowColor; @@ -676,8 +678,6 @@ public: virtual void shift(const LLVector3 &offset); }; -void validate_draw_info(LLDrawInfo& params); - extern const F32 SG_BOX_SIDE; extern const F32 SG_BOX_OFFSET; extern const F32 SG_BOX_RAD; |